lithium\console\Command::stop()
Stop execution, by exiting the script.
Parameters
-
integer
$statusNumeric value that will be used on
exit(). -
string|null
$messageAn optional message that will be written to the stream.
Returns
voidSource
public function stop($status = 0, $message = null) {
if ($message) {
($status == 0) ? $this->out($message) : $this->error($message);
}
exit($status);
}