Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Codegen\Emitter; | |
| 6 | ||
| 7 | use Stewart\Codegen\Model\DomainModel; | |
| 8 | use Stewart\Codegen\Output\GeneratedFile; | |
| 9 | ||
| 10 | interface DomainFileEmitter | |
| 11 | { | |
| 12 | public function supportsDomain(DomainModel $domain): bool; | |
| 13 | ||
| 14 | public function emitFile(DomainModel $domain, EmitContext $context): GeneratedFile; | |
| 15 | } |