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
PHPDaemon
Clients
Asterisk
Connection
onEvent
PHPDaemon\Clients\Asterisk\Connection::onEvent PHP Method
Connection Class Documentation
Show file
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