Guard::abort()
Abort script execution.
Guard::abort(string $alert, $exit = true);
Example:
if (!Request::is('Get')) {
Guard::abort('Method not allowed.');
}
Guard::abort()
Abort script execution.
Guard::abort(string $alert, $exit = true);
Example:
if (!Request::is('Get')) {
Guard::abort('Method not allowed.');
}