private function getControllerFromMatch($match = array())
    {
        try {
            $target = explode("#", $match["target"]);
            return Controller::factory($target[0]);
        } 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 getControllerFromMatch($match = array())
    {
        try {
            $target = explode("#", $match["target"]);
            return Controller::factory($target[0]);
        } 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 getControllerFromMatch ( $ match = array ( ) ) { try { $ target = explode ( "#" , $ match [ "target" ] ) ; return Controller :: factory ( $ target [ 0 ] ) ; } 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 matched information
@param  array $match An AltoRouter answer
@return Controller A controller object
Gets a Controller instance form the matched information