I have a class in which i am keeping some constant variables. I want to assign a value from app.yml into a class variable there but it is giving syntax error for that. Following is the code snippet:
class StaticPhotoUrls
{
const abc = sfConfig::get("app_myvalue");
}
http://www.php.net/manual/en/language.oop5.constants.php