API / Minn\Runtime / AllowedOptions

AllowedOptions final class

Minn\Runtime\AllowedOptions · public/minn/src/Minn/Runtime/AllowedOptions.php · 26 lines

The settings-page allowlist plugins extend: option group => the option names a settings form in that group may save. The engine renders no settings pages, so the list is only recorded, never enforced.

Public

staticmerge(array $add, array $into): array#

The allowlist with each new name appended to its group once, groups created as needed. A group handed as anything but a list adds nothing.

$addarray<string, mixed>
$intoarray<string, list<string>>
@return array<string, list<string>>