Tag Archives: task

Making Symfony Routes Available in Tasks

By default symfony puts the routing.yml file in an application’s config folder.  This is nice if you wish to have separate routing for separate apps.  However, if you only have one app, it greatly simplifies things to place this file … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | Leave a comment

Symfony tasks, sfContext, and Routing

When working with Symfony tasks, sfContext is not available like it normally is in a Symfony project. The following code, for example, won’t work in a task: Rather, in a task you can access the routing by using this: Note: … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | Leave a comment

Create a Symfony Super-Task that Runs Other Tasks

It can sometimes be useful to run several Symfony tasks in row. But who wants to sit and wait for one task to complete, just to run the next? A better option would be to create a super task that … Continue reading

Posted in 1.4, Symfony | Tagged , , | 3 Comments