Property | Type | Description | |
---|---|---|---|
$arguments | array | The arguments from CLI (argv) parsed. | |
$extra | array | The extra(s) from composer.json passed. | |
$installPath | string | The install path |
Method | Description | |
---|---|---|
getArguments ( ) : array | Getter for arguments. | |
getExtra ( ) : array | Getter for extra. | |
getInstallPath ( ) : string | Getter for installPath. | |
getSourcePath ( ) : boolean | Detect and return source path containing the bootstrap project structure. | |
initArguments ( Composer\Script\CommandEvent $event = null ) : boolean | Retrieve arguments from global to prepare them for further use. | |
retrieveInstallPath ( ) : string | Returns install path relative to current path. | |
setArguments ( array $arguments ) : void | Setter for arguments. | |
setExtra ( array $extra ) : void | Setter for extra. | |
setInstallPath ( string $installPath ) : void | Setter for installPath. | |
showBanner ( ) : void | Show project banner. | |
showHelp ( ) : void | Shows help dialog. | |
showVersion ( ) : void | Shows phpMemAdmin version banner. | |
showVhostExample ( string $installPath ) : void | Echoes a VHost skeleton with correct path inserted. | |
validatePath ( string $path ) : boolean | Validates a path for installation. | |
xcopy ( string $source, string $destination, mixed $permissions = 493 ) : boolean | Copy a file, or recursively copy a folder and its contents |
protected static getArguments ( ) : array | ||
return | array | The arguments |
protected static getInstallPath ( ) : string | ||
return | string | The install path |
protected static getSourcePath ( ) : boolean | ||
return | boolean | Returns true on success, false on failure |
protected static initArguments ( Composer\Script\CommandEvent $event = null ) : boolean | ||
$event | Composer\Script\CommandEvent | The Composer event fired to retrieve arguments from |
return | boolean | TRUE on success, otherwise FALSE |
protected static retrieveInstallPath ( ) : string | ||
return | string | The install path |
protected static setArguments ( array $arguments ) : void | ||
$arguments | array | The arguments to set. |
return | void |
protected static setInstallPath ( string $installPath ) : void | ||
$installPath | string | The installPath to set. |
return | void |
protected static showBanner ( ) : void | ||
return | void |
protected static showVersion ( ) : void | ||
return | void |
protected static showVhostExample ( string $installPath ) : void | ||
$installPath | string | The install path to insert. |
return | void |
protected static validatePath ( string $path ) : boolean | ||
$path | string | The path to validate |
return | boolean | TRUE if path is valid, otherwise FALSE |
protected static array $arguments | ||
return | array |
protected static array $extra | ||
return | array |
protected static string $installPath | ||
return | string |