Rename UrlParams::req() to ::getRequired()

req() seems mysterious :)
This commit is contained in:
Eric Lippmann 2015-05-19 17:12:18 +02:00
parent b1b2e3fc21
commit 3a2238f737
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class UrlParams
*
* @throws MissingParameterException If the parameter was not given
*/
public function req($name, $strict = true)
public function getRequired($name, $strict = true)
{
if ($this->has($name)) {
$value = $this->get($name);