Property | Type | Description | |
---|---|---|---|
$console | Illuminate\Console\Command | The console command instance. | |
$name | string | The module name. | |
$path | string | The destionation path. | |
$repository | The module repository instance. | ||
$timeout | integer | The process timeout. | |
$version | string | The version of module being installed. |
Method | Description | |
---|---|---|
__construct ( string $name, string $version = null, string $type = null, boolean $tree = false ) | The constructor. | |
getBranch ( ) : string | Get branch name. | |
getDestinationPath ( ) : string | Get destination path. | |
getModuleName ( ) : string | Get module name. | |
getPackageName ( ) : string | Get composer package name. | |
getProcess ( ) : |
Get process instance. | |
getRepoUrl ( ) : string | null | Get git repo url. | |
installViaComposer ( ) : |
Install the module via composer. | |
installViaGit ( ) : |
Install the module via git. | |
installViaSubtree ( ) : |
Install the module via git subtree. | |
run ( ) : |
Run the installation process. | |
setConsole ( Illuminate\Console\Command $console ) | Set console command instance. | |
setPath ( string $path ) | Set destination path. | |
setRepository ( |
Set the module repository instance. | |
setTimeout ( integer $timeout ) | Set process timeout. |
public getDestinationPath ( ) : string | ||
return | string |
public getPackageName ( ) : string | ||
return | string |
public getProcess ( ) : |
||
return |
public getRepoUrl ( ) : string | null | ||
return | string | null |
public installViaComposer ( ) : |
||
return |
public installViaGit ( ) : |
||
return |
public installViaSubtree ( ) : |
||
return |
public run ( ) : |
||
return |
public setConsole ( Illuminate\Console\Command $console ) | ||
$console | Illuminate\Console\Command |
public setRepository ( |
||
$repository |
public setTimeout ( integer $timeout ) | ||
$timeout | integer |
protected Command,Illuminate\Console $console | ||
return | Illuminate\Console\Command |
protected Repository,Nwidart\Modules $repository | ||
return |
protected string $version | ||
return | string |