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