We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d3bca commit 085b90aCopy full SHA for 085b90a
best_practices/templates.rst
@@ -81,7 +81,7 @@ extension. The service definition only requires the path to the class:
81
# app/config/services.yml
82
services:
83
# ...
84
- markdown:
+ app.markdown:
85
class: AppBundle\Utils\Markdown
86
87
And the ``Markdown`` class just needs to define one single method to transform
@@ -156,7 +156,7 @@ name is irrelevant because you never use it in your own code):
156
157
app.twig.app_extension:
158
class: AppBundle\Twig\AppExtension
159
- arguments: ['@markdown']
+ arguments: ['@app.markdown']
160
public: false
161
tags:
162
- { name: twig.extension }
0 commit comments