private function getControllerFromDynamicMatch($match = array())
    {
        try {
            if (array_key_exists("controller", $match["params"])) {
                return Controller::factory($match["params"]["controller"]);
            }
        } catch (Exception $e) {
            // The controller did not exist, we don't care at this point.
            // We'll just ignore the route.
        }

        return Controller::factory("App");
    }
private function getControllerFromDynamicMatch($match = array())
    {
        try {
            if (array_key_exists("controller", $match["params"])) {
                return Controller::factory($match["params"]["controller"]);
            }
        } catch (Exception $e) {
            // The controller did not exist, we don't care at this point.
            // We'll just ignore the route.
        }

        return Controller::factory("App");
    }
private function getControllerFromDynamicMatch ( $ match = array ( ) ) { try { if ( array_key_exists ( "controller" , $ match [ "params" ] ) ) { return Controller :: factory ( $ match [ "params" ] [ "controller" ] ) ; } } catch ( Exception $ e ) { // The controller did not exist, we don't care at this point. // We'll just ignore the route. } return Controller :: factory ( "App" ) ; }
Gets a Controller instance form the dynamic information
@param  array $match An AltoRouter answer
@return Controller A controller object
Gets a Controller instance form the dynamic information