Fixed Symfony2 Framework Detection Constant Name