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
Kraken
Console
Client
Command
Command
onCancel
Kraken\Console\Client\Command\Command::onCancel PHP Method
Command Class Documentation
Show file
Open project: kraken-php/framework
onCancel()
protected
method
protected
onCancel
(
Erro\Error | Exceptio\Exception
$ex
) :
mixed
$ex
Erro\Error | Exceptio\Exception
return
mixed
protected function onCancel($ex) { return $this->cancelMessage(get_class($ex), $ex->getMessage()); }
Command
__construct
__destruct
cancelMessage
command
config
configure
construct
destruct
execute
failureMessage
informServer
isAsync
onCancel
onFailure
onMessage
onStart
onStop
onSuccess
successData
successMessage
validateCreateFlags
validateDestroyFlags