Skip to content
Corex

OptionPageGenerator

Corex\Cli\Generators\OptionPageGenerator · class · CLI layer

Scaffolds a custom admin option page definition — an OptionPage (title, menu, capability, fields) the developer registers with the OptionPageRegistry (spec 039). The page renders + saves through the shared settings form, so the scaffold is a definition, not form/save code.

placeholders(string $className, GeneratorContext $context): array

Section titled “placeholders(string $className, GeneratorContext $context): array”