We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b13f0 commit 20590f5Copy full SHA for 20590f5
service_container/factories.rst
@@ -93,7 +93,7 @@ configure the service container to use the
93
94
$container->register('app.newsletter_manager_factory', 'AppBundle\Email\NewsletterManagerFactory');
95
96
- $newsletterManager = new Definition();
+ $newsletterManager = new Definition('AppBundle\Email\NewsletterManager');
97
98
// call a method on the specified service
99
$newsletterManager->setFactory(array(
0 commit comments