Added symfony2 support