@@ -5,49 +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
- `controller.argument_value_resolver `_ Register a value resolver for controller arguments such as ``Request ``
18
- `data_collector `_ Create a class that collects custom data for the profiler
19
- `doctrine.event_listener `_ Add a Doctrine event listener
20
- `doctrine.event_subscriber `_ Add a Doctrine event subscriber
21
- `form.type `_ Create a custom form field type
22
- `form.type_extension `_ Create a custom "form extension"
23
- `form.type_guesser `_ Add your own logic for "form type guessing"
24
- `kernel.cache_clearer `_ Register your service to be called during the cache clearing process
25
- `kernel.cache_warmer `_ Register your service to be called during the cache warming process
26
- `kernel.event_listener `_ Listen to different events/hooks in Symfony
27
- `kernel.event_subscriber `_ To subscribe to a set of different events/hooks in Symfony
28
- `kernel.fragment_renderer `_ Add new HTTP content rendering strategies
29
- `kernel.reset `_ Allows to clean up services between requests
30
- `mime.mime_type_guesser `_ Add your own logic for guessing MIME types
31
- `monolog.logger `_ Logging with a custom logging channel
32
- `monolog.processor `_ Add a custom processor for logging
33
- `routing.loader `_ Register a custom service that loads routes
34
- `routing.expression_language_provider `_ Register a provider for expression language functions in routing
35
- `security.expression_language_provider `_ Register a provider for expression language functions in security
36
- `security.voter `_ Add a custom voter to Symfony's authorization logic
37
- `security.remember_me_aware `_ To allow remember me authentication
38
- `serializer.encoder `_ Register a new encoder in the ``serializer `` service
39
- `serializer.normalizer `_ Register a new normalizer in the ``serializer `` service
40
- `swiftmailer.default.plugin `_ Register a custom SwiftMailer Plugin
41
- `templating.helper `_ Make your service available in PHP templates
42
- `translation.loader `_ Register a custom service that loads translations
43
- `translation.extractor `_ Register a custom service that extracts translation messages from a file
44
- `translation.dumper `_ Register a custom service that dumps translation messages
45
- `twig.extension `_ Register a custom Twig Extension
46
- `twig.loader `_ Register a custom service that loads Twig templates
47
- `twig.runtime `_ Register a lazy-loaded Twig Extension
48
- `validator.constraint_validator `_ Create your own custom validation constraint
49
- `validator.initializer `_ Register a service that initializes objects before validation
50
- ======================================== ========================================================================
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.
51
10
52
11
auto_alias
53
12
----------
0 commit comments