프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | Illuminate\Console\Command |
abstract public getDestinationPath ( ) : string | ||
리턴 | string |
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem | ||
리턴 | Illuminate\Filesystem\Filesystem |
public getRepository ( ) : |
||
리턴 |
public setConsole ( Illuminate\Console\Command $console ) | ||
$console | Illuminate\Console\Command |
public setRepository ( |
||
$repository |
protected Command,Illuminate\Console $console | ||
리턴 | Illuminate\Console\Command |
protected Repository,Nwidart\Modules $repository | ||
리턴 |
protected bool $showMessage | ||
리턴 | boolean |
protected string $success | ||
리턴 | string |