symfony/symfony-docs — Issue #1112: [book][routing] Generating absolute urls in console commands
Author: jpb0104
Created: 2012-02-29 15:20:24+00:00
State: open

There is a section in the current docs about generating absolute urls in console commands but it feels incomplete:
http://symfony.com/doc/current/book/routing.html#generating-absolute-urls

How do you access the request object in a cli env?

Is there a better way to do this?