Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Flarum
Core
Support
EventGeneratorTrait
PHP Trait Flarum\Core\Support\EventGeneratorTrait
Show file
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 property
protected
array
$pendingEvents
return
array