This is the "key" of that Route, as defined inthe mock. For phpcr we want to use the repository path here rather than the core compatible route-name . Otherwise we can not have urls with underscores in them, if we encode / with _.

----- Reply message -----
Von: "Crell" <notifications@github.com>
An: "symfony-cmf/Routing" <Routing@noreply.github.com>
Cc: "David Buchmann" <david@liip.ch>
Betreff: [Routing] route name is in _route now, object in _route_object (#43)
Datum: Sa., Jan. 19, 2013 01:51
In Tests/NestedMatcher/ConfigurableUrlMatcherTest.php: 
>          $expected = array( 
> -            '_route_name' => '_company_more', 
> -            '_route' => $this->routeDocument, 
> +            RouteObjectInterface::ROUTE_NAME => '/routes/company/more', 

That looks like a pattern, not a route name... 


&mdash;

Reply to this email directly or view it on GitHub.