You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am configuring my own Hydrators and Naming Strategy in Bootstrap.php with :
$namingStrategy = new OAMNamingStrategy();
$em->getConfiguration()->setNamingStrategy($namingStrategy);
I wasn't able to find how to do it in application.ini (something like : resource.doctrine.orm.entityManagers.default.naming_strategy = "My\Doctrine\NamingStrategy\OAMNamingStrategy" ??) and google didn't help me.
Does someone know how to do that? Maybe it could be added in the application.ini given, as an exemple...
Thanks!
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am configuring my own Hydrators and Naming Strategy in Bootstrap.php with :
$namingStrategy = new OAMNamingStrategy();
$em->getConfiguration()->setNamingStrategy($namingStrategy);
$em->getConfiguration()->addCustomHydrationMode('NumHydrator', 'My\Doctrine\Hydrator\NumHydrator');
$em->getConfiguration()->addCustomHydrationMode('ColumnHydrator', 'My\Doctrine\Hydrator\ColumnHydrator');
I wasn't able to find how to do it in application.ini (something like : resource.doctrine.orm.entityManagers.default.naming_strategy = "My\Doctrine\NamingStrategy\OAMNamingStrategy" ??) and google didn't help me.
Does someone know how to do that? Maybe it could be added in the application.ini given, as an exemple...
Thanks!
Thanks
The text was updated successfully, but these errors were encountered: