Rename UrlParams::req() to ::getRequired()
req() seems mysterious :)
This commit is contained in:
parent
b1b2e3fc21
commit
3a2238f737
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue