Skip to content

Commit f8f0e30

Browse files
alexptswouterj
authored andcommitted
Property class is required
1 parent 583d021 commit f8f0e30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

service_container/factories.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ Configuration of the service container then looks like this:
153153
# app/config/services.yml
154154
155155
app.newsletter_manager:
156+
class: AppBundle\Email\NewsletterManager
156157
# new syntax
157158
factory: 'AppBundle\Email\NewsletterManagerFactory:createNewsletterManager'
158159
# old syntax

0 commit comments

Comments
 (0)