You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While improving doc on this, I'd also expect #18348 to be more closely linked to service_container/autowiring.rst: at the moment, the doc about AutowireCallable is split in two pages, with no direct links. This splits the knowledge about the attribute (and its sibling AutowireMethodOf).
In #19819 we added the description of the new
#[AutowireMethodOf]
attribute.The new content is correct, but I think it's missing useful tips and contents included in the symfony/symfony#54016 discussion:
#[AutowireMethodOf]
attribute to autowire a method of a service as a callable symfony#54016 (comment))#[AutowireMethodOf]
attribute to autowire a method of a service as a callable symfony#54016 (comment)) but I'd like to see a real test example because I don't fully understand this.#[AutowireMethodOf]
attribute to autowire a method of a service as a callable symfony#54016 (comment)The text was updated successfully, but these errors were encountered: