DCOM-33: Allow to register callbacks in the EventManager #629

doctrinebot opened this Issue Jan 1, 2011 · 1 comment

2 participants


Jira issue originally created by user @beberlei:


Comment created by @beberlei:

Consider to add a second queue for callbacks. Its not possible to simulate this by doing something like:

public function addCallbackListener($event, Closure $callback)
    $eventListener = new stdClass();
    $eventListener->$event = $callback;
    $this->addEventListener($event, $eventListener);

sad :-)

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment