@@ -5,50 +5,8 @@ Built-in Symfony Service Tags
5
5
:doc: `DependencyInjection component </components/dependency_injection >` to flag
6
6
services that require special processing, like console commands or Twig extensions.
7
7
8
- These are the most common tags provided by Symfony components, but in your
9
- application there could be more tags available provided by third-party bundles:
10
-
11
- ======================================== ========================================================================
12
- Tag Name Usage
13
- ======================================== ========================================================================
14
- `auto_alias `_ Define aliases based on the value of container parameters
15
- `console.command `_ Add a command
16
- `container.hot_path `_ Add to list of always needed services
17
- `container.no_preload `_ Remove a class from the list of classes preloaded by PHP
18
- `container.preload `_ Add some class to the list of classes preloaded by PHP
19
- `controller.argument_value_resolver `_ Register a value resolver for controller arguments such as ``Request ``
20
- `data_collector `_ Create a class that collects custom data for the profiler
21
- `doctrine.event_listener `_ Add a Doctrine event listener
22
- `doctrine.event_subscriber `_ Add a Doctrine event subscriber
23
- `form.type `_ Create a custom form field type
24
- `form.type_extension `_ Create a custom "form extension"
25
- `form.type_guesser `_ Add your own logic for "form type guessing"
26
- `kernel.cache_clearer `_ Register your service to be called during the cache clearing process
27
- `kernel.cache_warmer `_ Register your service to be called during the cache warming process
28
- `kernel.event_listener `_ Listen to different events/hooks in Symfony
29
- `kernel.event_subscriber `_ To subscribe to a set of different events/hooks in Symfony
30
- `kernel.fragment_renderer `_ Add new HTTP content rendering strategies
31
- `kernel.reset `_ Allows to clean up services between requests
32
- `mime.mime_type_guesser `_ Add your own logic for guessing MIME types
33
- `monolog.logger `_ Logging with a custom logging channel
34
- `monolog.processor `_ Add a custom processor for logging
35
- `routing.loader `_ Register a custom service that loads routes
36
- `routing.expression_language_provider `_ Register a provider for expression language functions in routing
37
- `security.expression_language_provider `_ Register a provider for expression language functions in security
38
- `security.voter `_ Add a custom voter to Symfony's authorization logic
39
- `security.remember_me_aware `_ To allow remember me authentication
40
- `serializer.encoder `_ Register a new encoder in the ``serializer `` service
41
- `serializer.normalizer `_ Register a new normalizer in the ``serializer `` service
42
- `swiftmailer.default.plugin `_ Register a custom SwiftMailer Plugin
43
- `translation.loader `_ Register a custom service that loads translations
44
- `translation.extractor `_ Register a custom service that extracts translation messages from a file
45
- `translation.dumper `_ Register a custom service that dumps translation messages
46
- `twig.extension `_ Register a custom Twig Extension
47
- `twig.loader `_ Register a custom service that loads Twig templates
48
- `twig.runtime `_ Register a lazy-loaded Twig Extension
49
- `validator.constraint_validator `_ Create your own custom validation constraint
50
- `validator.initializer `_ Register a service that initializes objects before validation
51
- ======================================== ========================================================================
8
+ This article shows the most common tags provided by Symfony components, but in
9
+ your application there could be more tags available provided by third-party bundles.
52
10
53
11
auto_alias
54
12
----------
0 commit comments