Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
PHPDaemon
Clients
Asterisk
Connection
onEvent
PHPDaemon\Clients\Asterisk\Connection::onEvent PHP Method
Connection Class Documentation
Datei anzeigen
Open project: kakserpom/phpdaemon
onEvent()
public
method
Called when event occured
Deprecation:
Replaced with ->bind('event', ...)
public
onEvent
(
callable
$cb
) :
void
$cb
callable
Callback
return
void
public function onEvent($cb) { $this->bind('event', $cb); }
Connection
action
auth
challenge
command
coreShowChannels
extensionState
getConfig
getConfigJSON
getIaxPeers
getSipPeers
gracefulShutdown
implodeParams
login
logoff
onConnected
onEvent
onFinish
onRead
onReady
originate
ping
redirect
setVar
status