DIC tags Flashcards

1
Q

auto_alias

A

Define aliases based on the value of container parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

console.command

A

Add a command to the application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

container.hot_path

A

Add to list of always needed services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

container.no_preload

A

Remove a class from the list of classes preloaded by PHP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

container.preload

A

Add some class to the list of classes preloaded by PHP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

controller.argument_value_resolver

A

Register a value resolver for controller arguments such as Request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

data_collector

A

Create a class that collects custom data for the profiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

doctrine.event_listener

A

Add a Doctrine event listener

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

doctrine.event_subscriber

A

Add a Doctrine event subscriber

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

form.type

A

Create a custom form field type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

form.type_extension

A

Create a custom “form extension”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

form.type_guesser

A

Add your own logic for “form type guessing”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

kernel.cache_clearer

A

Register your service to be called during the cache clearing process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

kernel.cache_warmer

A

Register your service to be called during the cache warming process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

kernel.event_listener

A

To listen to different events/hooks in Symfony

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

kernel.event_subscriber

A

To subscribe to a set of different events/hooks in Symfony

17
Q

kernel.fragment_renderer

A

Add a new HTTP content rendering strategy

18
Q

kernel.reset

A

Clean up services between requests

19
Q

mime.mime_type_guesser

A

Add your own logic for guessing MIME types

20
Q

monolog.logger

A

To use a custom logging channel with Monolog

21
Q

monolog.processor

A

Add a custom processor for logging

22
Q

routing.loader

A

Register a custom service that loads routes

23
Q

routing.expression_language_provider

A

Register a provider for expression language functions in routing

24
Q

security.expression_language_provider

A

Register a provider for expression language functions in security

25
security.remember_me_aware
To allow remember me authentication
26
security.voter
To add a custom voter to Symfony’s authorization logic
27
serializer.encoder
Register a new encoder in the serializer service
28
serializer.normalizer
Register a new normalizer in the Serializer service
29
swiftmailer.default.plugin
Register a custom SwiftMailer Plugin
30
translation.loader
To register a custom service that loads translations
31
translation.extractor
To register a custom service that extracts messages from a file
32
translation.dumper
To register a custom service that dumps messages to a file
33
twig.extension
To register a custom Twig Extension
34
twig.loader
Register a custom service that loads Twig templates
35
twig.runtime
To register a custom Lazy-Loaded Twig Extension
36
validator.constraint_validator
Create your own custom validation constraint
37
validator.initializer
Register a service that initializes objects before validation