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.
2 parents 3c88886 + 475cdc7 commit a4796b8Copy full SHA for a4796b8
service_container/factories.rst
@@ -106,7 +106,7 @@ Configuration of the service container then looks like this:
106
app.newsletter_manager:
107
class: AppBundle\Email\NewsletterManager
108
# call a method on the specified factory service
109
- factory: 'app.newsletter_manager_factory:createNewsletterManager'
+ factory: 'app.newsletter_manager_factory::createNewsletterManager'
110
111
.. code-block:: xml
112
@@ -160,7 +160,7 @@ Configuration of the service container then looks like this:
160
161
162
# new syntax
163
164
# old syntax
165
factory: ['@app.newsletter_manager_factory', createNewsletterManager]
166
0 commit comments