symfony/symfony — pull request #4844 by Gator92 (2012-07-10 23:58:42+00:00)
Title: [Routing][RequestContext] method fromContext chainable

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

So something like this be done:
`$generator->setContext($matcher->getContext()->fromRequest($request))`