mitchellvanw / laravel-doctrine

NO LONGER MAINTAINED! A Doctrine 2 implementation that melts with Laravel
MIT License
187 stars 74 forks source link

Added ability to add event listeners via config file #124

Closed boris-glumpler closed 4 years ago

boris-glumpler commented 9 years ago

I needed to add more event listeners to the entity manager, so I just added a new config item. I've left the TablePrefix listener as is and didn't move it to the event_listeners array.

boris-glumpler commented 9 years ago

Also just had a case where I added a PostGIS-Doctrine extension, which relied on an event subscriber to be registered, so added this functionality in as well.