Fix for Symfony 2.6
Merge pull request #201 from mvar/symfony_2_6

[bugfix] Symfony 2.6 support