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
currently in 1.3 CallbackResolver class only process valid callable and formatted service name servicename:method. Since mostly I use class name as service ID it feel weird if I pass callable service name. For example
i have to append with ':__invoke' each callback. I proposed to override CallbackResolver so it can pass any callable service name without append ':__invoke'
The text was updated successfully, but these errors were encountered:
The Silex\CallbackResolver class could be overridden with an implementation that could call Invoker\CallableResolver::resolve() to resolve the callable.
We might need to keep support of the official notation though (service:method) so that users are not confused…
currently in 1.3 CallbackResolver class only process valid
callable
and formatted service nameservicename:method
. Since mostly I use class name as service ID it feel weird if I passcallable
service name. For examplei have to append with ':__invoke' each callback. I proposed to override CallbackResolver so it can pass any callable service name without append ':__invoke'
The text was updated successfully, but these errors were encountered: