I'm using Doctrine 2.2.1 to reverse engineer a DB (YAML mappings), and subsequently generate the entity files. Right now, I have it setup to use the Entity namespace. The database names themselves are converted to camel case.
So... user_acl becomes:
<?php
namespace Entity;
// ...
class UserAcl {}
Is there a way to have user_acl generate a class with the following structure:
<?php
namespace Entity\User;
class Acl {}
So my question is... Can Doctrine use underscores to determine the namespace in lieu of using them to generate a camel caps-style class name?