protected function buildSymfonyMatcher()
    {
        if (!$this->locator) {
            throw new \InvalidArgumentException('Unable to build Symfony matcher without config locator.');
        }

        $yaml_loader = new YamlFileLoader($this->locator);
        $routes = $yaml_loader->load($this->getRoutingFilename());
        $matcher = new UrlMatcher($routes, $this->getRequestContext());

        return($matcher);
    }
protected function buildSymfonyMatcher()
    {
        if (!$this->locator) {
            throw new \InvalidArgumentException('Unable to build Symfony matcher without config locator.');
        }

        $yaml_loader = new YamlFileLoader($this->locator);
        $routes = $yaml_loader->load($this->getRoutingFilename());
        $matcher = new UrlMatcher($routes, $this->getRequestContext());

        return($matcher);
    }
protected function buildSymfonyMatcher ( ) { if ( ! $ this -> locator ) { throw new \ InvalidArgumentException ( 'Unable to build Symfony matcher without config locator.' ) ; } $ yaml_loader = new YamlFileLoader ( $ this -> locator ) ; $ routes = $ yaml_loader -> load ( $ this -> getRoutingFilename ( ) ) ; $ matcher = new UrlMatcher ( $ routes , $ this -> getRequestContext ( ) ) ; return ( $ matcher ) ; }
buildSymfonyMatcher
Build a Symfony matcher for matching yaml configured
routes.

@return Symfony\Component\Routing\Matcher\UrlMatcher $matcher
buildSymfonyMatcher Build a Symfony matcher for matching yaml configured routes .