public function matchRequest(RequestInterface $request)
    {
        if (!isset($this->options['controllerObjectNamePattern'])) {
            throw new InvalidRequestPatternException('Missing option "controllerObjectNamePattern" in the ControllerObjectName request pattern configuration', 1446224501);
        }
        return (boolean)preg_match('/^' . str_replace('\\', '\\\\', $this->options['controllerObjectNamePattern']) . '$/', $request->getControllerObjectName());
    }
public function matchRequest(RequestInterface $request)
    {
        if (!isset($this->options['controllerObjectNamePattern'])) {
            throw new InvalidRequestPatternException('Missing option "controllerObjectNamePattern" in the ControllerObjectName request pattern configuration', 1446224501);
        }
        return (boolean)preg_match('/^' . str_replace('\\', '\\\\', $this->options['controllerObjectNamePattern']) . '$/', $request->getControllerObjectName());
    }
public function matchRequest ( RequestInterface $ request ) { if ( ! isset ( $ this -> options [ 'controllerObjectNamePattern' ] ) ) { throw new InvalidRequestPatternException ( 'Missing option "controllerObjectNamePattern" in the ControllerObjectName request pattern configuration' , 1446224501 ) ; } return ( boolean ) preg_match ( '/^' . str_replace ( '\\' , '\\\\' , $ this -> options [ 'controllerObjectNamePattern' ] ) . '$/' , $ request -> getControllerObjectName ( ) ) ; }
Matches a \Neos\Flow\Mvc\RequestInterface against its set controller object name pattern rules

@param RequestInterface $request The request that should be matched
@return boolean true if the pattern matched, false otherwise
@throws InvalidRequestPatternException
Matches a \ Neos \ Flow \ Mvc \ RequestInterface against its set controller object name pattern rules