Skip to content

Commit c375b2f

Browse files
committed
minor #6529 [DependencyInjection] Unquote services FQCN in autowiring examples (chalasr)
This PR was merged into the 2.8 branch. Discussion ---------- [DependencyInjection] Unquote services FQCN in autowiring examples In most examples of service declaration, the `class` value has no quotes, but in this one, they have simple quotes. Commits ------- 54d84e4 [DependencyInjection] Unquote services FQCN in autowiring examples
2 parents afdd44f + 54d84e4 commit c375b2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dependency_injection/autowiring.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ service is marked as autowired:
6262
# app/config/services.yml
6363
services:
6464
twitter_client:
65-
class: 'AppBundle\TwitterClient'
65+
class: AppBundle\TwitterClient
6666
autowire: true
6767
6868
.. code-block:: xml
@@ -200,10 +200,10 @@ subsystem isn't able to find itself the interface implementation to register:
200200
# app/config/services.yml
201201
services:
202202
rot13_transformer:
203-
class: 'AppBundle\Rot13Transformer'
203+
class: AppBundle\Rot13Transformer
204204
205205
twitter_client:
206-
class: 'AppBundle\TwitterClient'
206+
class: AppBundle\TwitterClient
207207
autowire: true
208208
209209
.. code-block:: xml

0 commit comments

Comments
 (0)