DIC tags Flashcards
auto_alias
Define aliases based on the value of container parameters
console.command
Add a command to the application
container.hot_path
Add to list of always needed services
container.no_preload
Remove a class from the list of classes preloaded by PHP
container.preload
Add some class to the list of classes preloaded by PHP
controller.argument_value_resolver
Register a value resolver for controller arguments such as Request
data_collector
Create a class that collects custom data for the profiler
doctrine.event_listener
Add a Doctrine event listener
doctrine.event_subscriber
Add a Doctrine event subscriber
form.type
Create a custom form field type
form.type_extension
Create a custom “form extension”
form.type_guesser
Add your own logic for “form type guessing”
kernel.cache_clearer
Register your service to be called during the cache clearing process
kernel.cache_warmer
Register your service to be called during the cache warming process
kernel.event_listener
To listen to different events/hooks in Symfony