abort
pestphp/pest
The
abort
function throws
an HTTP exception
which will be rendered by the
exception handler
:
<?php abort
(
403
);