Skip to content

Commit 671d147

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Update configurators.rst
2 parents 15f4e54 + 5da504d commit 671d147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/configurators.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ all the classes are already loaded as services. All you need to do is specify th
180180
181181
// override the services to set the configurator
182182
$services->set(NewsletterManager::class)
183-
->configurator(service(EmailConfigurator::class), 'configure');
183+
->configurator([service(EmailConfigurator::class), 'configure']);
184184
185185
$services->set(GreetingCardManager::class)
186-
->configurator(service(EmailConfigurator::class), 'configure');
186+
->configurator([service(EmailConfigurator::class), 'configure']);
187187
};
188188
189189
.. _configurators-invokable:

0 commit comments

Comments
 (0)