Stop execution, by exiting the script.

Parameters

  • integer $status Numeric value that will be used on `exit()`.
  • boolean $message An optional message that will be written to the stream.

Returns

void

Source

						public function stop($status = 0, $message = null) {
		if ($message) {
			($status == 0) ? $this->out($message) : $this->error($message);
		}
		exit($status);
	}