Adapted to Symfony
Revision 1.0.18