Fire event
public fire ( string $eventName, array | |
||
$eventName | string | Event to fire. You can also use wildcards to fire multiple events at once, ex: 'event.*' |
$data | array | |
Array or Event object |
$resultType | null | If specified, the event results will be filtered using given class/interface name |
$limit | null | integer | Number of results to return |
return | array | Array of results from EventListeners |