API / Minn\Http / Refusal

Refusal interface

Minn\Http\Refusal · public/minn/src/Minn/Http/Refusal.php · 5 lines

A refusal a route judges after its arguments and before its policy: the reference turns some requests away at the head of its permission check, before it looks at the caller at all (a post created with an id).

Public

staticrefuse(Minn\Http\Request $request): void#

Throws the refusal when the request earns it; returns quietly otherwise.