Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Phastlight
EventEmitter
on
Phastlight\EventEmitter::on PHP Méthode
EventEmitter Class Documentation
Afficher le fichier
Open project: phastlight/phastlight
on()
public
méthode
add a listener to the end of the listeners array for the specified event
public
on
(
$event
,
$listener
)
public function on($event, $listener) { $this->addListener($event, $listener); }
EventEmitter
__construct
addListener
emit
getListeners
on
removeAllListeners
removeListener