public function getControllerByURITemplate($uriTemplate)
    {
        $controller = $this->getDataByUriTemplate($uriTemplate, 'controller');
        $separatorPosition = strpos($controller, '@');

        if ($separatorPosition !== false) {
            $controller = substr($controller, 0, $separatorPosition);
            return $this->notation->toClassPath($controller);
        } else {
            // No separator
            return false;
        }
    }
public function getControllerByURITemplate($uriTemplate)
    {
        $controller = $this->getDataByUriTemplate($uriTemplate, 'controller');
        $separatorPosition = strpos($controller, '@');

        if ($separatorPosition !== false) {
            $controller = substr($controller, 0, $separatorPosition);
            return $this->notation->toClassPath($controller);
        } else {
            // No separator
            return false;
        }
    }
public function getControllerByURITemplate ( $ uriTemplate ) { $ controller = $ this -> getDataByUriTemplate ( $ uriTemplate , 'controller' ) ; $ separatorPosition = strpos ( $ controller , '@' ) ; if ( $ separatorPosition !== false ) { $ controller = substr ( $ controller , 0 , $ separatorPosition ) ; return $ this -> notation -> toClassPath ( $ controller ) ; } else { // No separator return false ; } }
Returns a controller by its associated URI template

@param string $uriTemplate URI template, not actual one
@throws \RuntimeException if URI doesn't belong to route map
@return string|boolean
Returns a controller by its associated URI template