EmpirePluginGenerator
class EmpirePluginGenerator extends Generator
Class EmpirePluginGenerator - creates new plugin structure and all containing files
Methods
__construct(Filesystem $filesystem)
EmpirePluginGenerator constructor.
generate(string $namespace, string $plugin, string $dir, string $format, bool $structure)
Create new plugin structure and all containing files
setSkeletonDirs(array $skeletonDirs)
Sets an array of directories to look for templates.
Details
at line 27
__construct(Filesystem $filesystem)
EmpirePluginGenerator constructor.
at line 40
generate(string $namespace, string $plugin, string $dir, string $format, bool $structure)
Create new plugin structure and all containing files
at line 91
setSkeletonDirs(array $skeletonDirs)
Sets an array of directories to look for templates.
The directories must be sorted from the most specific to the most directory.