protected function assertArgumentRequirement($key, $regex, $arguments)
    {
        if (substr($regex, -1) === '+' && !array_key_exists($key, $arguments)) {
            throw new RouteException(sprintf('Missing value for argument "%s" in route "%s"', $key, $this->pattern));
        }
    }
protected function assertArgumentRequirement($key, $regex, $arguments)
    {
        if (substr($regex, -1) === '+' && !array_key_exists($key, $arguments)) {
            throw new RouteException(sprintf('Missing value for argument "%s" in route "%s"', $key, $this->pattern));
        }
    }
protected function assertArgumentRequirement ( $ key , $ regex , $ arguments ) { if ( substr ( $ regex , - 1 ) === '+' && ! array_key_exists ( $ key , $ arguments ) ) { throw new RouteException ( sprintf ( 'Missing value for argument "%s" in route "%s"' , $ key , $ this -> pattern ) ) ; } }
Asserts required argument matches regex

@param string $key
@param string $regex
@param array  $arguments

@throws RouteException
Asserts required argument matches regex