GeneratorInterface
A deterministic artifact generator (one per `coa:make <what>`).
GeneratorInterface::name()
abstract public function name(): stringThe `<what>` token this generator answers to, e.g. 'entity'.
GeneratorInterface::generate()
abstract public function generate(Milpa\DevTools\Make\GenerationContext $context): Milpa\DevTools\Make\GenerationResultRenders the artifact for `$context` and returns the planned file(s) plus its verify target.
Parameters
| Name | Type | Description |
|---|---|---|
| $context | Milpa\DevTools\Make\GenerationContext |