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
This is reminder as @fprochazka requested. Nothing has been done. And so far it is just lets imagine something better discussion. I probably should have moved it to forum.
<?php/*** @Event\Subscriber([<class>])* <class> is set as default for all handlers*/classOnEventListenerextendsNette\Object
{
/** * @Event\Handler([<class>[::]<event>][ <priority>]) * <event> defaults to methods name * If there is class and event they must be separated by ::. * Otherwise it is determined by heuristic if argument is event or class. */publicfunctiononEvent()
{
// ...
}
}
The text was updated successfully, but these errors were encountered:
I thought about it a bit and IMO it could be done via extension that walks all registered listeners and replaces them with generated extensions with Subscriber interface.
This is reminder as @fprochazka requested. Nothing has been done. And so far it is just lets imagine something better discussion. I probably should have moved it to forum.
The text was updated successfully, but these errors were encountered: