@@ -12,79 +12,47 @@ section of the Service Container chapter.
12
12
Below is information about all of the tags available inside Symfony. There
13
13
may also be tags in other bundles you use that aren't listed here.
14
14
15
- +-----------------------------------+---------------------------------------------------------------------------+
16
- | Tag Name | Usage |
17
- +===================================+===========================================================================+
18
- | `assetic.asset `_ | Register an asset to the current asset manager |
19
- +-----------------------------------+---------------------------------------------------------------------------+
20
- | `assetic.factory_worker `_ | Add a factory worker |
21
- +-----------------------------------+---------------------------------------------------------------------------+
22
- | `assetic.filter `_ | Register a filter |
23
- +-----------------------------------+---------------------------------------------------------------------------+
24
- | `assetic.formula_loader `_ | Add a formula loader to the current asset manager |
25
- +-----------------------------------+---------------------------------------------------------------------------+
26
- | `assetic.formula_resource `_ | Adds a resource to the current asset manager |
27
- +-----------------------------------+---------------------------------------------------------------------------+
28
- | `assetic.templating.php `_ | Remove this service if PHP templating is disabled |
29
- +-----------------------------------+---------------------------------------------------------------------------+
30
- | `assetic.templating.twig `_ | Remove this service if Twig templating is disabled |
31
- +-----------------------------------+---------------------------------------------------------------------------+
32
- | `console.command `_ | Add a command |
33
- +-----------------------------------+---------------------------------------------------------------------------+
34
- | `data_collector `_ | Create a class that collects custom data for the profiler |
35
- +-----------------------------------+---------------------------------------------------------------------------+
36
- | `doctrine.event_listener `_ | Add a Doctrine event listener |
37
- +-----------------------------------+---------------------------------------------------------------------------+
38
- | `doctrine.event_subscriber `_ | Add a Doctrine event subscriber |
39
- +-----------------------------------+---------------------------------------------------------------------------+
40
- | `form.type `_ | Create a custom form field type |
41
- +-----------------------------------+---------------------------------------------------------------------------+
42
- | `form.type_extension `_ | Create a custom "form extension" |
43
- +-----------------------------------+---------------------------------------------------------------------------+
44
- | `form.type_guesser `_ | Add your own logic for "form type guessing" |
45
- +-----------------------------------+---------------------------------------------------------------------------+
46
- | `kernel.cache_clearer `_ | Register your service to be called during the cache clearing process |
47
- +-----------------------------------+---------------------------------------------------------------------------+
48
- | `kernel.cache_warmer `_ | Register your service to be called during the cache warming process |
49
- +-----------------------------------+---------------------------------------------------------------------------+
50
- | `kernel.event_listener `_ | Listen to different events/hooks in Symfony |
51
- +-----------------------------------+---------------------------------------------------------------------------+
52
- | `kernel.event_subscriber `_ | To subscribe to a set of different events/hooks in Symfony |
53
- +-----------------------------------+---------------------------------------------------------------------------+
54
- | `kernel.fragment_renderer `_ | Add new HTTP content rendering strategies |
55
- +-----------------------------------+---------------------------------------------------------------------------+
56
- | `monolog.logger `_ | Logging with a custom logging channel |
57
- +-----------------------------------+---------------------------------------------------------------------------+
58
- | `monolog.processor `_ | Add a custom processor for logging |
59
- +-----------------------------------+---------------------------------------------------------------------------+
60
- | `routing.loader `_ | Register a custom service that loads routes |
61
- +-----------------------------------+---------------------------------------------------------------------------+
62
- | `security.voter `_ | Add a custom voter to Symfony's authorization logic |
63
- +-----------------------------------+---------------------------------------------------------------------------+
64
- | `security.remember_me_aware `_ | To allow remember me authentication |
65
- +-----------------------------------+---------------------------------------------------------------------------+
66
- | `serializer.encoder `_ | Register a new encoder in the ``serializer `` service |
67
- +-----------------------------------+---------------------------------------------------------------------------+
68
- | `serializer.normalizer `_ | Register a new normalizer in the ``serializer `` service |
69
- +-----------------------------------+---------------------------------------------------------------------------+
70
- | `swiftmailer.default.plugin `_ | Register a custom SwiftMailer Plugin |
71
- +-----------------------------------+---------------------------------------------------------------------------+
72
- | `templating.helper `_ | Make your service available in PHP templates |
73
- +-----------------------------------+---------------------------------------------------------------------------+
74
- | `translation.loader `_ | Register a custom service that loads translations |
75
- +-----------------------------------+---------------------------------------------------------------------------+
76
- | `translation.extractor `_ | Register a custom service that extracts translation messages from a file |
77
- +-----------------------------------+---------------------------------------------------------------------------+
78
- | `translation.dumper `_ | Register a custom service that dumps translation messages |
79
- +-----------------------------------+---------------------------------------------------------------------------+
80
- | `twig.extension `_ | Register a custom Twig Extension |
81
- +-----------------------------------+---------------------------------------------------------------------------+
82
- | `twig.loader `_ | Register a custom service that loads Twig templates |
83
- +-----------------------------------+---------------------------------------------------------------------------+
84
- | `validator.constraint_validator `_ | Create your own custom validation constraint |
85
- +-----------------------------------+---------------------------------------------------------------------------+
86
- | `validator.initializer `_ | Register a service that initializes objects before validation |
87
- +-----------------------------------+---------------------------------------------------------------------------+
15
+ ======================================== ========================================================================
16
+ Tag Name Usage
17
+ ======================================== ========================================================================
18
+ `assetic.asset `_ Register an asset to the current asset manager
19
+ `assetic.factory_worker `_ Add a factory worker
20
+ `assetic.filter `_ Register a filter
21
+ `assetic.formula_loader `_ Add a formula loader to the current asset manager
22
+ `assetic.formula_resource `_ Adds a resource to the current asset manager
23
+ `assetic.templating.php `_ Remove this service if PHP templating is disabled
24
+ `assetic.templating.twig `_ Remove this service if Twig templating is disabled
25
+ `console.command `_ Add a command
26
+ `data_collector `_ Create a class that collects custom data for the profiler
27
+ `doctrine.event_listener `_ Add a Doctrine event listener
28
+ `doctrine.event_subscriber `_ Add a Doctrine event subscriber
29
+ `form.type `_ Create a custom form field type
30
+ `form.type_extension `_ Create a custom "form extension"
31
+ `form.type_guesser `_ Add your own logic for "form type guessing"
32
+ `kernel.cache_clearer `_ Register your service to be called during the cache clearing process
33
+ `kernel.cache_warmer `_ Register your service to be called during the cache warming process
34
+ `kernel.event_listener `_ Listen to different events/hooks in Symfony
35
+ `kernel.event_subscriber `_ To subscribe to a set of different events/hooks in Symfony
36
+ `kernel.fragment_renderer `_ Add new HTTP content rendering strategies
37
+ `monolog.logger `_ Logging with a custom logging channel
38
+ `monolog.processor `_ Add a custom processor for logging
39
+ `routing.loader `_ Register a custom service that loads routes
40
+ `routing.expression_language_provider `_ Register a provider for expression language functions in routing
41
+ `security.expression_language_provider `_ Register a provider for expression language functions in security
42
+ `security.voter `_ Add a custom voter to Symfony's authorization logic
43
+ `security.remember_me_aware `_ To allow remember me authentication
44
+ `serializer.encoder `_ Register a new encoder in the ``serializer `` service
45
+ `serializer.normalizer `_ Register a new normalizer in the ``serializer `` service
46
+ `swiftmailer.default.plugin `_ Register a custom SwiftMailer Plugin
47
+ `templating.helper `_ Make your service available in PHP templates
48
+ `translation.loader `_ Register a custom service that loads translations
49
+ `translation.extractor `_ Register a custom service that extracts translation messages from a file
50
+ `translation.dumper `_ Register a custom service that dumps translation messages
51
+ `twig.extension `_ Register a custom Twig Extension
52
+ `twig.loader `_ Register a custom service that loads Twig templates
53
+ `validator.constraint_validator `_ Create your own custom validation constraint
54
+ `validator.initializer `_ Register a service that initializes objects before validation
55
+ ======================================== ========================================================================
88
56
89
57
assetic.asset
90
58
-------------
@@ -916,6 +884,34 @@ of your configuration, and tag it with ``routing.loader``:
916
884
917
885
For more information, see :doc:`/cookbook/routing/custom_route_loader`.
918
886
887
+ routing.expression_language_provider
888
+ ------------------------------------
889
+
890
+ .. versionadded:: 2.6
891
+ The ``routing.expression_language_provider`` tag was introduced in Symfony
892
+ 2.6.
893
+
894
+ **Purpose**: Register a provider for expression language functions in routing
895
+
896
+ This tag is used to automatically register
897
+ :ref:`expression function providers <components-expression-language-provider>`
898
+ for the routing expression component. Using these providers, you can add custom
899
+ functions to the routing expression language.
900
+
901
+ security.expression_language_provider
902
+ -------------------------------------
903
+
904
+ .. versionadded:: 2.6
905
+ The ``security.expression_language_provider`` tag was introduced in Symfony
906
+ 2.6.
907
+
908
+ **Purpose**: Register a provider for expression language functions in security
909
+
910
+ This tag is used to automatically register :ref:`expression function providers
911
+ <components-expression-language-provider>` for the security expression
912
+ component. Using these providers, you can add custom functions to the security
913
+ expression language.
914
+
919
915
security.remember_me_aware
920
916
--------------------------
921
917
0 commit comments