Property | Type | Description | |
---|---|---|---|
$console | Illuminate\Console\Command | The laravel console instance. | |
$error | string | The error message will displayed at console. | |
$module | string | The name of module will used. | |
$repository | The modules repository instance. | ||
$showMessage | boolean | Determine whether the result message will shown in the console. | |
$success | string | The success message will displayed at console. |
Method | Description | |
---|---|---|
__construct ( |
The constructor. | |
getConsole ( ) : Illuminate\Console\Command | Get console instance. | |
getDestinationPath ( ) : string | Get destination path. | |
getFilesystem ( ) : Illuminate\Filesystem\Filesystem | Get laravel filesystem instance. | |
getModule ( ) : |
Get module instance. | |
getRepository ( ) : |
Get modules repository instance. | |
getSourcePath ( ) : string | Get source path. | |
hideMessage ( ) : self | Hide the result message. | |
publish ( ) | Publish something. | |
setConsole ( Illuminate\Console\Command $console ) | Set console instance. | |
setRepository ( |
Set modules repository instance. | |
showMessage ( ) : self | Show the result message. |
public __construct ( |
||
$module |
public getConsole ( ) : Illuminate\Console\Command | ||
return | Illuminate\Console\Command |
abstract public getDestinationPath ( ) : string | ||
return | string |
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem | ||
return | Illuminate\Filesystem\Filesystem |
public getModule ( ) : |
||
return |
public getRepository ( ) : |
||
return |
abstract public getSourcePath ( ) : string | ||
return | string |
public setConsole ( Illuminate\Console\Command $console ) | ||
$console | Illuminate\Console\Command |
public setRepository ( |
||
$repository |
protected Command,Illuminate\Console $console | ||
return | Illuminate\Console\Command |
protected string $error | ||
return | string |
protected Repository,Nwidart\Modules $repository | ||
return |
protected bool $showMessage | ||
return | boolean |
protected string $success | ||
return | string |