Created
January 30, 2021 20:59
-
-
Save tarlepp/f4af8e2b89b4ee83eb031f853a508e23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
# default configuration for services in *this* file | |
_defaults: | |
# automatically injects dependencies in your services | |
autowire: true | |
# automatically registers your services as commands, form types, etc. | |
autoconfigure: true | |
# this means you cannot fetch services directly from the container via $container->get() | |
# if you need to do this, you can override this setting on individual services | |
public: false | |
App\EventListener\UserEntityEventListener: | |
tags: | |
- { name: doctrine.event_listener, event: prePersist } | |
- { name: doctrine.event_listener, event: preUpdate } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment