Closed valllabh closed 7 years ago
Good point!
Could probably just create a new configuration element that allows for the definition of custom functions.etc?
@valllabh what's the need for a hook for modifying configurations? Configuration I suspect should be available as the various classes are utilised.
@kirkbushell please read "Registering your own DQL functions" >> http://doctrine-orm.readthedocs.org/en/latest/cookbook/dql-user-defined-functions.html
Developer may need to modify config object. it seems there is no other way to do this...
@valllabh ah cool, that makes sense. I can include that in the configuration updates I think... will have a play :)
Closing because project is no longer maintained. Thanks.
Use
\Doctrine\ORM\Configuration
for creation ofEntityManager
and provide hook to modify configurations. I know configurations can be modified right now through config. file but there is no way to useaddCustomStringFunction
function of\Doctrine\ORM\Configuration
as we are using simple array forEM
creation.