Skip to content

Commit a012d42

Browse files
committed
Merge pull request symfony#3154 from bicpi/revise_di_tags_reference
[Reference][DI Tags] Fix typos and formatting
2 parents 8c00399 + 4a8d14e commit a012d42

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

reference/dic_tags.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ In order to add a new worker, first create a class::
108108

109109
}
110110

111-
And then add register it as a tagged service:
111+
And then register it as a tagged service:
112112

113113
.. configuration-block::
114114

@@ -299,7 +299,7 @@ the interface directly::
299299
}
300300
301301
In order for Symfony to know about your form extension and use it, give it
302-
the `form.type_extension` tag:
302+
the ``form.type_extension`` tag:
303303
304304
.. configuration-block::
305305
@@ -370,7 +370,7 @@ service class::
370370
371371
}
372372
373-
Then register this class and tag it with ``kernel.cache:clearer``:
373+
Then register this class and tag it with ``kernel.cache_clearer``:
374374
375375
.. configuration-block::
376376
@@ -431,7 +431,7 @@ The ``isOptional`` method should return true if it's possible to use the
431431
application without calling this cache warmer. In Symfony 2.0, optional warmers
432432
are always executed anyways, so this function has no real effect.
433433
434-
To register your warmer with Symfony, give it the kernel.cache_warmer tag:
434+
To register your warmer with Symfony, give it the ``kernel.cache_warmer`` tag:
435435
436436
.. configuration-block::
437437
@@ -486,7 +486,7 @@ core Symfony listeners and their priorities.
486486
487487
All listeners listed here may not be listening depending on your environment,
488488
settings and bundles. Additionally, third-party bundles will bring in
489-
additional listener not listed here.
489+
additional listeners not listed here.
490490
491491
kernel.request
492492
..............
@@ -606,7 +606,7 @@ configuration, and tag it with ``kernel.event_subscriber``:
606606
kernel.fragment_renderer
607607
------------------------
608608
609-
**Purpose**: Add a new HTTP content rendering strategy.
609+
**Purpose**: Add a new HTTP content rendering strategy
610610
611611
To add a new rendering strategy - in addition to the core strategies like
612612
``EsiFragmentRenderer`` - create a class that implements
@@ -1091,7 +1091,7 @@ configuration, and tag it with ``twig.extension``:
10911091
10921092
For information on how to create the actual Twig Extension class, see
10931093
`Twig's documentation`_ on the topic or read the cookbook article:
1094-
:doc:`/cookbook/templating/twig_extension`
1094+
:doc:`/cookbook/templating/twig_extension`.
10951095
10961096
Before writing your own extensions, have a look at the
10971097
`Twig official extension repository`_ which already includes several

0 commit comments

Comments
 (0)