Neos\Flow\Mvc\RequestInterface::getControllerObjectName PHP Метод

getControllerObjectName() публичный Метод

Returns the object name of the controller which is supposed to process the request.
public getControllerObjectName ( ) : string
Результат string The controller's object name
    public function getControllerObjectName();

Usage Example

 /**
  * 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
  */
 public function matchRequest(RequestInterface $request)
 {
     if (!isset($this->options['controllerObjectNamePattern'])) {
         throw new InvalidRequestPatternException('Missing option "controllerObjectNamePattern" in the ControllerObjectName request pattern configuration', 1446224501);
     }
     return (bool) preg_match('/^' . str_replace('\\', '\\\\', $this->options['controllerObjectNamePattern']) . '$/', $request->getControllerObjectName());
 }
All Usage Examples Of Neos\Flow\Mvc\RequestInterface::getControllerObjectName