Property | Type | Description | |
---|---|---|---|
$container | array | Array to store the configuration details. | |
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$module | The modules instance. | ||
$signature | string | The name and signature of the console command. |
Method | Description | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files, |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
Method | Description | |
---|---|---|
displayHeader ( string $file = '', string $level = 'info' ) : mixed | Pull the given stub file contents and display them on screen. | |
generate ( ) | Generate the module. | |
generateModule ( ) | Generate defined module folders. | |
optimizeModules ( ) | Reset module cache of enabled and disabled modules. | |
replacePlaceholders ( $contents ) |
Method | Description | |
---|---|---|
stepOne ( ) : mixed | Step 1: Configure module manifest. |
public __construct ( Illuminate\Filesystem\Filesystem $files, |
||
$files | Illuminate\Filesystem\Filesystem | |
$module |
protected optimizeModules ( ) |
protected array $container | ||
return | array |
protected string $description | ||
return | string |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |
protected Modules,Caffeinated\Modules $module | ||
return |
protected string $signature | ||
return | string |