public trigger ( string $id, string $event, string | object $target = null, array | ArrayAccess $argv = [], null | callable $callback = null ) : Zend\EventManager\ResponseCollection | ||
$id | string | Identifier(s) for event emitting component(s) |
$event | string | Event |
$target | string | object | Object calling emit, or symbol describing target (such as static method name) |
$argv | array | ArrayAccess | Array of arguments; typically, should be associative |
$callback | null | callable | Callback function |
return | Zend\EventManager\ResponseCollection | All listener return values |