I know this is probably not possible, but is there a clean way to use a PHP class constant within a YAML config/services/etc. file for Symfony2?
For example, if I ha
For Symfony >=2.4 you can use expression language
Example:
'@=constant("Symfony\\Bridge\\Monolog\\Logger::INFO")'