Closed stevobengtson closed 7 months ago
Add missing @ character in the #[Autowire('api_platform.doctrine.orm.state.persist_processor')] example code.
@
#[Autowire('api_platform.doctrine.orm.state.persist_processor')]
The correct statement should be: #[Autowire('@api_platform.doctrine.orm.state.persist_processor')]
#[Autowire('@api_platform.doctrine.orm.state.persist_processor')]
Good catch! Could we use this syntax (as recommended by Symfony IIRC) instead, please?
Good catch!
Could we use this syntax (as recommended by Symfony IIRC) instead, please?
Sure thing, thanks for the review @dunglas !
Thank you!!
Add missing
@
character in the#[Autowire('api_platform.doctrine.orm.state.persist_processor')]
example code.The correct statement should be:
#[Autowire('@api_platform.doctrine.orm.state.persist_processor')]