I read the chapter about Doctrine naming strategies in the manual. Unfortunately I don't understand where I have to put the configuration code.
In order to get an underscore naming strategy I should use this code:
$namingStrategy = new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy(CASE_UPPER);
$configuration()->setNamingStrategy($namingStrategy);
Where should I put this?
I'm on Symfony 2 — I guess this matters when it comes to configuration.