Skip to content

Commit 20590f5

Browse files
authored
service_container : fix php Definition instance
Nothing really important ^^, just according YAML format with PHP format
1 parent b7b13f0 commit 20590f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/factories.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ configure the service container to use the
9393
9494
$container->register('app.newsletter_manager_factory', 'AppBundle\Email\NewsletterManagerFactory');
9595
96-
$newsletterManager = new Definition();
96+
$newsletterManager = new Definition('AppBundle\Email\NewsletterManager');
9797
9898
// call a method on the specified service
9999
$newsletterManager->setFactory(array(

0 commit comments

Comments
 (0)