File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ To begin with, change the ``TransportChain`` class::
182182
return $this->transports[];
183183
}
184184
}
185+
185186

186187
Change the service delaration:
187188

@@ -200,6 +201,7 @@ Change the service delaration:
200201
class: \Swift_SendmailTransport
201202
tags:
202203
- { name: acme_mailer.transport, alias: bar }
204+
203205
204206
.. code-block:: xml
205207
@@ -211,6 +213,7 @@ Change the service delaration:
211213
<service id="acme_mailer.transport.sendmail" class="\Swift_SendmailTransport">
212214
<tag name="acme_mailer.transport" alias="bar" />
213215
</service>
216+
214217
215218
The last step is to update the compiler to take care of your additional information::
216219

@@ -232,4 +235,5 @@ The last step is to update the compiler to take care of your additional informat
232235
$definition->addMethodCall('addTransport', array(new Reference($id), $attributes[0]["alias"]));
233236
}
234237
}
235-
}
238+
}
239+

0 commit comments

Comments
 (0)