lithium\core\StaticObjectDeprecated::_stop()

protected static 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 static function _stop($status = 0) {
		$message  = '`' . __METHOD__ . '()` has been deprecated.';
		trigger_error($message, E_USER_DEPRECATED);
		exit($status);
	}