Skip to content

Commit 957874e

Browse files
committed
Add missing empty line
1 parent b4af396 commit 957874e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Without autowire
146146
If you are not using autowire you need to require either ``Psr\Container\ContainerInterface`` or ``Symfony\Contracts\Service\ServiceProviderInterface`` as a ``__construct`` argument or as a method call like ``setContainer(Psr\Container\ContainerInterface $container)``.
147147

148148
.. code-block:: diff
149+
149150
$services->set('my_service', SomeClass::class)
150151
+ ->call('setContainer', [service(ContainerInterface::class)])
151152
+ ->tag('container.service_subscriber')

0 commit comments

Comments
 (0)