System/Facade/RequestHandler.php
/**
     * calls the controller class and its method then invokes any passed arguments if available
     * @param string $controller
     * @param string $controllerMethod
     * @param array $params
     */
calls the controller class and its method then invokes any passed arguments if available
@param string $controller
@param string $controllerMethod
@param array $params
calls the controller class and its method then invokes any passed arguments if available @param string $controller @param string $controllerMethod @param array $params
private function runController($controller, $controllerMethod, $params){
        $controllerName = $controller;
        $controllerMethodName = $controllerMethod;
        $this->hookHandler->before($controllerName, $controllerMethodName)->run();
        $controller = self::APPLICATION_CONTROLLER_PATH . ucfirst(strtolower($controller));
        $controllerMethod = new \ReflectionMethod($controller,$controllerMethod);
        $injector = new \Auryn\Provider();
        $controllerObject = $injector->make($controller);
        $controllerMethod->invokeArgs($controllerObject, $params);
        $this->hookHandler->after($controllerName, $controllerMethodName)->run();
    }
private function runController ( $ controller , $ controllerMethod , $ params ) { $ controllerName = $ controller ; $ controllerMethodName = $ controllerMethod ; $ this -> hookHandler -> before ( $ controllerName , $ controllerMethodName ) -> run ( ) ; $ controller = self :: APPLICATION_CONTROLLER_PATH . ucfirst ( strtolower ( $ controller ) ) ; $ controllerMethod = new \ ReflectionMethod ( $ controller , $ controllerMethod ) ; $ injector = new \ Auryn \ Provider ( ) ; $ controllerObject = $ injector -> make ( $ controller ) ; $ controllerMethod -> invokeArgs ( $ controllerObject , $ params ) ; $ this -> hookHandler -> after ( $ controllerName , $ controllerMethodName ) -> run ( ) ; }
calls the controller class and its method then invokes any passed arguments if available
 @param string $controller
 @param string $controllerMethod
 @param array $params
calls the controller class and its method then invokes any passed arguments if available @param string $controller @param string $controllerMethod @param array $params