@@ -17,7 +17,7 @@ example:
1717services :
1818App\Twig\AppExtension :
1919public :false
20- tags :[twig.extension]
20+ tags :[' twig.extension' ]
2121
2222 ..code-block ::xml
2323
@@ -162,10 +162,10 @@ For example, you may add the following transports as services:
162162services :
163163Swift_SmtpTransport :
164164arguments :['%mailer_host%']
165- tags :[app.mail_transport]
165+ tags :[' app.mail_transport' ]
166166
167167Swift_SendmailTransport :
168- tags :[app.mail_transport]
168+ tags :[' app.mail_transport' ]
169169
170170 ..code-block ::xml
171171
@@ -317,11 +317,11 @@ To answer this, change the service declaration:
317317Swift_SmtpTransport :
318318arguments :['%mailer_host%']
319319tags :
320- -{ name: app.mail_transport, alias: smtp }
320+ -{ name:' app.mail_transport' , alias:' smtp' }
321321
322322Swift_SendmailTransport :
323323tags :
324- -{ name: app.mail_transport, alias: sendmail }
324+ -{ name:' app.mail_transport' , alias:' sendmail' }
325325
326326 ..code-block ::xml
327327
@@ -368,13 +368,13 @@ To answer this, change the service declaration:
368368# Compact syntax
369369Swift_SendmailTransport :
370370class :\Swift_SendmailTransport
371- tags :[app.mail_transport]
371+ tags :[' app.mail_transport' ]
372372
373373# Verbose syntax
374374Swift_SendmailTransport :
375375class :\Swift_SendmailTransport
376376tags :
377- -{ name: app.mail_transport }
377+ -{ name:' app.mail_transport' }
378378
379379 Notice that you've added a generic ``alias `` key to the tag. To actually
380380use this, update the compiler::
@@ -424,10 +424,10 @@ first constructor argument to the ``App\HandlerCollection`` service:
424424# config/services.yaml
425425services :
426426App\Handler\One :
427- tags :[app.handler]
427+ tags :[' app.handler' ]
428428
429429App\Handler\Two :
430- tags :[app.handler]
430+ tags :[' app.handler' ]
431431
432432App\HandlerCollection :
433433# inject all services tagged with app.handler as first argument
@@ -500,7 +500,7 @@ application handlers.
500500services :
501501App\Handler\One :
502502tags :
503- -{ name: app.handler, priority: 20 }
503+ -{ name:' app.handler' , priority: 20 }
504504
505505 ..code-block ::xml
506506