Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Phastlight
EventEmitter
on
Phastlight\EventEmitter::on PHP 메소드
EventEmitter 1 문서
파일 보기
프로젝트 열기: phastlight/phastlight
on()
공개
메소드
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