lithium\core\StaticObjectDeprecated::_stop()
Exit immediately. Primarily used for overrides during testing.
Parameters
-
integer|string
$status
integer range 0 to 254, string printed on exit
Returns
voidSource
protected static function _stop($status = 0) {
$message = '`' . __METHOD__ . '()` has been deprecated.';
trigger_error($message, E_USER_DEPRECATED);
exit($status);
}