Skip to content
Corex

ApiResourceScaffoldResult

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

The structured outcome of scaffolding a REST API resource — a set of files (controller, routes, request, resource, test), not a single artifact. Mirrors GeneratorResult’s status constants so the command layer reports it the same way.

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

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

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

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