Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
[DependencyInjection] add explanation for attribute option infactories.rst
#21108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.4
Are you sure you want to change the base?
[DependencyInjection] add explanation for attribute option infactories.rst
#21108
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Add doc for thisPR |
service_container/factories.rst Outdated
use Symfony\Component\DependencyInjection\Attribute\Autoconfigure; | ||
// its necesary create a service for the factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Typo in necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
My bad, thanks for your help!
I've made the change ❤️
a9e0666
to7a36eee
CompareHi 👋 |
Description
This PR updates the Factory documentation to include information about the
attribute
option. This helps clarify how to use attributes when creating service factories.