PHP Trait Flarum\Core\Support\EventGeneratorTrait

Mostrar archivo Open project: flarum/core

Protected Properties

Property Type Description
$pendingEvents array

Public Methods

Method Description
raise ( mixed $event ) Raise a new event.
releaseEvents ( ) : array Return and reset all pending events.

Method Details

raise() public method

Raise a new event.
public raise ( mixed $event )
$event mixed

releaseEvents() public method

Return and reset all pending events.
public releaseEvents ( ) : array
return array

Property Details

$pendingEvents protected_oe property

protected array $pendingEvents
return array