ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
The base Process type. More...
Public Member Functions | |||||||
__construct (Composer $composer=null, IOInterface $io=null) | |||||||
{Create a new Process.
| |||||||
process () | |||||||
{Called when running through the process.
| |||||||
getComponentName ($prettyName, array $extra=array()) | |||||||
Retrieves the component name for the component. More... | |||||||
getComponentDir () | |||||||
Retrieves the component directory. More... | |||||||
setComponentDir ($dir) | |||||||
Sets the component directory. More... | |||||||
getVendorDir (array $package) | |||||||
Retrieves the given package's vendor directory, where it's installed. More... | |||||||
Public Member Functions inherited from ComponentInstaller\Process\ProcessInterface | |||||||
init () | |||||||
Initialize the process before its run. More... | |||||||
Protected Attributes | |
$composer | |
$io | |
$config | |
$packages = array() | |
$componentDir = 'components' | |
$fs | |
$installationManager | |
The base Process type.
Processes are initialized, and then run during installation.
Definition at line 26 of file Process.php.
ComponentInstaller\Process\Process::__construct | ( | Composer | $composer = null , |
IOInterface | $io = null |
||
) |
{Create a new Process.
Composer | $composer | The Composer object to act on. |
IOInterface | $io | Input/Output object to act on. |
Implements ComponentInstaller\Process\ProcessInterface.
Definition at line 67 of file Process.php.
References ComponentInstaller\Process\Process\$composer, ComponentInstaller\Process\Process\$io, array, and ComponentInstaller\Process\ProcessInterface\init().
ComponentInstaller\Process\Process::getComponentDir | ( | ) |
Retrieves the component directory.
Definition at line 177 of file Process.php.
References ComponentInstaller\Process\Process\$componentDir.
Retrieves the component name for the component.
string | $prettyName | The Composer package name. |
array | $extra | The extra config options sent from Composer. |
Definition at line 154 of file Process.php.
References array.
Referenced by ComponentInstaller\Process\BuildJsProcess\compile(), ComponentInstaller\Process\CopyProcess\copy(), ComponentInstaller\Process\RequireCssProcess\packageStyles(), and ComponentInstaller\Process\RequireJsProcess\requireJson().
ComponentInstaller\Process\Process::getVendorDir | ( | array | $package | ) |
Retrieves the given package's vendor directory, where it's installed.
array | $package | The package to retrieve the vendor directory for. |
Definition at line 199 of file Process.php.
References $loader, and $path.
Referenced by ComponentInstaller\Process\RequireJsProcess\aggregateScripts(), ComponentInstaller\Process\CopyProcess\copy(), and ComponentInstaller\Process\RequireCssProcess\packageStyles().
ComponentInstaller\Process\Process::process | ( | ) |
{Called when running through the process.
Implements ComponentInstaller\Process\ProcessInterface.
Definition at line 138 of file Process.php.
ComponentInstaller\Process\Process::setComponentDir | ( | $dir | ) |
Sets the component directory.
string | $dir |
Definition at line 187 of file Process.php.
|
protected |
Definition at line 51 of file Process.php.
Referenced by ComponentInstaller\Process\Process\getComponentDir(), and ComponentInstaller\Process\RequireCssProcess\process().
|
protected |
Definition at line 31 of file Process.php.
Referenced by ComponentInstaller\Process\Process\__construct().
|
protected |
Definition at line 41 of file Process.php.
Referenced by ComponentInstaller\Process\RequireJsProcess\requireJson().
|
protected |
Definition at line 56 of file Process.php.
|
protected |
Definition at line 62 of file Process.php.
|
protected |
Definition at line 36 of file Process.php.
Referenced by ComponentInstaller\Process\Process\__construct().
|
protected |
Definition at line 46 of file Process.php.
Referenced by ComponentInstaller\Process\BuildJsProcess\compile(), and ComponentInstaller\Process\CopyProcess\copy().