lithium\core\Object::_stop()

protected method
This method is deprecated.

Exit immediately. Primarily used for overrides during testing.

Parameters

  • integer|string $status

    integer range 0 to 254, string printed on exit

Returns

void

Source

	protected function _stop($status = 0) {
		$message  = '`' . __METHOD__ . '()` has been deprecated.';
		trigger_error($message, E_USER_DEPRECATED);
		exit($status);
	}