Zend\EventManager\EventManagerInterface::triggerUntil
Trigger an event until the given callback returns a boolean false
Should allow handling the following scenarios: - Passing Event object and callback only - Passing event name, Event object, and callback only - Passing event name, target, Event object, and callback - Passing event name, target, array|ArrayAccess of arguments, and callback
Signature
public function triggerUntil(string
$event,
[object|string
$target = null,
[array|object
$argv = null,
[callable
$callback = null]]] )
Parameters
$event
— string$target
— object
$argv
— object
$callback
— object
Returns
- ResponseCollection