MenuItemStatus final class
Minn\Rest\MenuItemStatus · public/minn/src/Minn/Rest/MenuItemStatus.php · 13 lines · implements Minn\Http\Refusal
Menu items listed with a status beyond publish by a caller who may not edit them: refused as the parameter it is ("Status is forbidden."), before the caller is judged for the list or its edit context, as the reference refuses it, signed out too (register 18300).
Used by 1
Public
| static | refuse(Minn\Http\Request $request): void# | Throws the status refusal, 401 inside for a signed-out caller and 403 for one signed in. |
Nothing matches.