API / Minn\Rest / FontFamilyCreation

FontFamilyCreation final class

Minn\Rest\FontFamilyCreation · public/minn/src/Minn/Rest/FontFamilyCreation.php · 9 lines · implements Minn\Http\Refusal

A font family's create judges its settings, then its theme.json version, before the caller is judged (Rest\FontSettings), so a caller who may not create one hears of a bad setting first, as on the reference. With plugins present, the refusal reaches them where a permission refusal would, after rest_request_before_callbacks.

Public

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

Throws the settings' or the version's refusal.