diff --git a/src/Modules/Generators/AbstractGenerator.php b/src/Modules/Generators/AbstractGenerator.php new file mode 100644 index 0000000..9b74b6a --- /dev/null +++ b/src/Modules/Generators/AbstractGenerator.php @@ -0,0 +1,35 @@ +source = $source; + } + + /** + * Run the generation and return an array of generated + * files (oddly implementing SourceInterface, naming + * things is hard!) + * + * @param Project $project + * @return array|SourceInterface[] + */ + abstract public function generate(Project $project): array; +} \ No newline at end of file