WouterJEloquentBundle
WouterJEloquentBundle copied to clipboard
Allow service observers to bind to model in tag
E.g.
app.user_observer:
class: AppBundle\Observer\UserObserver
tags:
- { name: wouterj_eloquent.observer, model: AppBundle\Model\User }
This requires some more work, as it needs to bind on each request instead of just once during container building. This might require adding a new initializers.