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
It doesn't fail until Eventor::emit() attempts to $callback = $listener['callback']->bindTo( $this->getBoundObj() );
on the callable array
should only perform the bindTo when $listener['callback'] instanceof Closure
as is, I've ended up with a lot of cruft:
$this->controller->onRest(ERestEvent::REQ_AUTH_AJAX_USER, function () use ($handler) {
returncall_user_func_array(array($handler, method'), func_get_args());
});
The text was updated successfully, but these errors were encountered:
I realize this library is ancient and not receiving updates, but...
this would be awesome:
It doesn't fail until
Eventor::emit()
attempts to$callback = $listener['callback']->bindTo( $this->getBoundObj() );
on the callable array
should only perform the bindTo when
$listener['callback'] instanceof Closure
as is, I've ended up with a lot of cruft:
The text was updated successfully, but these errors were encountered: