MakePoppyCommand
class MakePoppyCommand extends Command
Make Poppy
Properties
protected string | $signature | The name and signature of the console command. |
|
protected string | $description | The console command description. |
|
protected Poppy | $poppy | The poppy instance. |
|
protected Filesystem | $files | The filesystem instance. |
|
protected array | $conf | Array to store the configuration details. |
Methods
Execute the console command.
Step 1: Configure module manifest.
Generate the module.
Generate defined module folders.
Reset module cache of enabled and disabled modules.
Pull the given stub file contents and display them on screen.
Replace Placeholder
Details
at line 58
__construct(Filesystem $files, Poppy $poppy)
Create a new command instance.
at line 71
mixed|void
handle()
Execute the console command.
at line 102
protected mixed
stepOne()
Step 1: Configure module manifest.
at line 135
protected
generate()
Generate the module.
at line 166
protected
generateModule()
Generate defined module folders.
at line 197
protected
optimizeModules()
Reset module cache of enabled and disabled modules.
at line 209
protected mixed
displayHeader(string $file = '', string $level = 'info')
Pull the given stub file contents and display them on screen.
at line 220
protected string
replacePlaceholders(string $contents)
Replace Placeholder