File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ To begin with, change the ``TransportChain`` class::
182
182
return $this->transports[];
183
183
}
184
184
}
185
+
185
186
186
187
Change the service delaration:
187
188
@@ -200,6 +201,7 @@ Change the service delaration:
200
201
class : \Swift_SendmailTransport
201
202
tags :
202
203
- { name: acme_mailer.transport, alias: bar }
204
+
203
205
204
206
.. code-block :: xml
205
207
@@ -211,6 +213,7 @@ Change the service delaration:
211
213
<service id =" acme_mailer.transport.sendmail" class =" \Swift_SendmailTransport" >
212
214
<tag name =" acme_mailer.transport" alias =" bar" />
213
215
</service >
216
+
214
217
215
218
The last step is to update the compiler to take care of your additional information::
216
219
@@ -232,4 +235,5 @@ The last step is to update the compiler to take care of your additional informat
232
235
$definition->addMethodCall('addTransport', array(new Reference($id), $attributes[0]["alias"]));
233
236
}
234
237
}
235
- }
238
+ }
239
+
You can’t perform that action at this time.
0 commit comments