PHP Class Nwidart\Modules\Commands\SetupCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: nwidart/laravel-modules

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
fire ( ) : mixed Execute the console command.
generateAssetsFolder ( ) Generate the assets folder.
generateModulesFolder ( ) Generate the modules folder.

Protected Methods

Method Description
generateDirectory ( $dir, $success, $error ) Generate the specified directory by given $dir.

Method Details

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed

generateAssetsFolder() public method

Generate the assets folder.

generateDirectory() protected method

Generate the specified directory by given $dir.
protected generateDirectory ( $dir, $success, $error )
$dir
$success
$error

generateModulesFolder() public method

Generate the modules folder.

Property Details

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string