|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
The base Process type. More...
Inheritance diagram for ComponentInstaller\Process\Process:
Collaboration diagram for ComponentInstaller\Process\Process: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 | |||||||
| __construct (Composer $composer, IOInterface $io) | |||||||
| Create a new Process. More... | |||||||
| init () | |||||||
| Initialize the process before its run. More... | |||||||
| process () | |||||||
| Called when running through the process. 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, and ComponentInstaller\Process\Process\$io.
| ComponentInstaller\Process\Process::getComponentDir | ( | ) |
Retrieves the component directory.
Definition at line 177 of file Process.php.
References ComponentInstaller\Process\Process\$componentDir.
| ComponentInstaller\Process\Process::getComponentName | ( | $prettyName, | |
| array | $extra = array() |
||
| ) |
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.
Referenced by ComponentInstaller\Process\BuildJsProcess\compile(), ComponentInstaller\Process\CopyProcess\copy(), ComponentInstaller\Process\RequireCssProcess\packageStyles(), and ComponentInstaller\Process\RequireJsProcess\requireJson().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ComponentInstaller\Process\Process::process | ( | ) |
{Called when running through the process.
Implements ComponentInstaller\Process\ProcessInterface.
Reimplemented in ComponentInstaller\Process\BuildJsProcess, ComponentInstaller\Process\CopyProcess, ComponentInstaller\Process\RequireCssProcess, and ComponentInstaller\Process\RequireJsProcess.
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 |