protected function loadAnnotationRoute($pathinfo)
    {
        @list($empty, $pack, $controller, $method) = explode('/', $pathinfo);

        if (!isset($this->packs[$pack])) {
            return;
        }

        if (isset($this->map[$controller])) {
            $controller = $this->map[$controller];
        }

        $controller = $this->underscoreToCamelCase($controller, true);

        $fullClassName = $this->packs[$pack]->getNameSpace().'\\Controller\\'.$controller;

        if (class_exists($fullClassName)) {
            $this->resolver->resolveController($fullClassName, $this->packs[$pack]);
        }
    }
protected function loadAnnotationRoute($pathinfo)
    {
        @list($empty, $pack, $controller, $method) = explode('/', $pathinfo);

        if (!isset($this->packs[$pack])) {
            return;
        }

        if (isset($this->map[$controller])) {
            $controller = $this->map[$controller];
        }

        $controller = $this->underscoreToCamelCase($controller, true);

        $fullClassName = $this->packs[$pack]->getNameSpace().'\\Controller\\'.$controller;

        if (class_exists($fullClassName)) {
            $this->resolver->resolveController($fullClassName, $this->packs[$pack]);
        }
    }
protected function loadAnnotationRoute ( $ pathinfo ) { @ list ( $ empty , $ pack , $ controller , $ method ) = explode ( '/' , $ pathinfo ) ; if ( ! isset ( $ this -> packs [ $ pack ] ) ) { return ; } if ( isset ( $ this -> map [ $ controller ] ) ) { $ controller = $ this -> map [ $ controller ] ; } $ controller = $ this -> underscoreToCamelCase ( $ controller , true ) ; $ fullClassName = $ this -> packs [ $ pack ] -> getNameSpace ( ) . '\\Controller\\' . $ controller ; if ( class_exists ( $ fullClassName ) ) { $ this -> resolver -> resolveController ( $ fullClassName , $ this -> packs [ $ pack ] ) ; } }
Tenta carregar uma rota anotada em um controlador de acordo com o pathinfo.

@param $pathinfo
Tenta carregar uma rota anotada em um controlador de acordo com o pathinfo .