src/Pupcake/Router.php
public function routeMatched($request_type, $route_pattern, $query_path)
    {
        $matched = $this->app->trigger(
            'system.request.route.matching', 
            array($this, 'processRouteMatching'),
            array(
                'request_type'=> $request_type, 
                'query_path' => $query_path,
                'route_pattern' => $route_pattern
            )
        );

        return $matched;
    }
public function routeMatched($request_type, $route_pattern, $query_path)
    {
        $matched = $this->app->trigger(
            'system.request.route.matching', 
            array($this, 'processRouteMatching'),
            array(
                'request_type'=> $request_type, 
                'query_path' => $query_path,
                'route_pattern' => $route_pattern
            )
        );

        return $matched;
    }
public function routeMatched ( $ request_type , $ route_pattern , $ query_path ) { $ matched = $ this -> app -> trigger ( 'system.request.route.matching' , array ( $ this , 'processRouteMatching' ) , array ( 'request_type' => $ request_type , 'query_path' => $ query_path , 'route_pattern' => $ route_pattern ) ) ; return $ matched ; }
check if a route is matched given a query path
check if a route is matched given a query path