Skip to content
Corex

BlockScaffoldResult

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

The structured outcome of scaffolding a block — a directory of files, not a single artifact. Mirrors GeneratorResult’s status constants so the command layer reports both the same way.

created(string $blockDir, array $paths): self

Section titled “created(string $blockDir, array $paths): self”

error(string $blockDir, string $message): self

Section titled “error(string $blockDir, string $message): self”