src/CarteBlanche/App/Router.php
protected function _parseRoute()
    {
        $route_rule = $this->matchUrl($this->getRoute());
        $route = array();
        if (!empty($route_rule)) {
            if (strpos($route_rule, ':')) {
                $parts = explode(':', $route_rule);
                if (count($parts)>2) {
                    $route = array(
                        'bundle' => $parts[0],
                        'controller' => $parts[1],
                        'action' => $parts[2],
                    );
                } elseif (count($parts)===2) {
                    $route = array(
                        'controller' => $parts[0],
                        'action' => $parts[1],
                    );
                } else {
                    $route = array(
                        'controller' => $parts[0],
                    );
                }
            }
        }
        $this->setRouteParsed($route);
    }
protected function _parseRoute()
    {
        $route_rule = $this->matchUrl($this->getRoute());
        $route = array();
        if (!empty($route_rule)) {
            if (strpos($route_rule, ':')) {
                $parts = explode(':', $route_rule);
                if (count($parts)>2) {
                    $route = array(
                        'bundle' => $parts[0],
                        'controller' => $parts[1],
                        'action' => $parts[2],
                    );
                } elseif (count($parts)===2) {
                    $route = array(
                        'controller' => $parts[0],
                        'action' => $parts[1],
                    );
                } else {
                    $route = array(
                        'controller' => $parts[0],
                    );
                }
            }
        }
        $this->setRouteParsed($route);
    }
Route parser : load and parse the current route