Mecha CMS

Helper functions.

abort

Short function for Guard::abort().

2.2.0Guard

abort(string $alert);

Example:

abort('Error message goes here.');