File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -358,12 +358,15 @@ configuration, and tag it with ``kernel.event_subscriber``:
358
358
If your service is created by a factory, you **MUST ** correctly set the ``class ``
359
359
parameter for this tag to work correctly.
360
360
361
- .. _dic-tags-kernel-fragment-renderer :
362
-
363
361
kernel.fragment_renderer
364
- -----------------------
362
+ ------------------------
363
+
364
+ **Purpose **: Add a new HTTP content rendering strategy.
365
365
366
- **Purpose **: Add new HTTP content rendering strategies
366
+ To add a new rendering strategy - in addition to the core strategies like
367
+ ``EsiFragmentRenderer `` - create a class that implements
368
+ :class: `Symfony\\ Component\\ HttpKernel\\ Fragment\\ FragmentRendererInterface `,
369
+ register it as a service, then tag it with ``kernel.fragment_renderer ``.
367
370
368
371
.. _dic_tags-monolog :
369
372
You can’t perform that action at this time.
0 commit comments