ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
ComponentInstallerPlugin.php
Go to the documentation of this file.
1
<?
php
2
3
/*
4
* This file is part of Component Installer.
5
*
6
* (c) Rob Loach (http://robloach.net)
7
*
8
* For the full copyright and license information, please view the LICENSE.md
9
* file that was distributed with this source code.
10
*/
11
12
namespace
ComponentInstaller
;
13
14
use
Composer\Composer
;
15
use
Composer\IO\IOInterface
;
16
use
Composer\Plugin\PluginInterface
;
17
25
class
ComponentInstallerPlugin
implements
PluginInterface
26
{
30
public
function
activate
(
Composer
$composer, IOInterface $io)
31
{
32
$installer =
new
Installer
($io, $composer);
33
$composer->getInstallationManager()->addInstaller($installer);
34
}
35
}
IOInterface
Composer
Composer
ComponentInstaller\ComponentInstallerPlugin
Composer Plugin to install Components.
Definition:
ComponentInstallerPlugin.php:25
PluginInterface
ComponentInstaller
Definition:
ComponentInstallerPlugin.php:12
ComponentInstaller\ComponentInstallerPlugin\activate
activate(Composer $composer, IOInterface $io)
Called when the plugin is activated.
Definition:
ComponentInstallerPlugin.php:30
php
ComponentInstaller\Installer
Component Installer for Composer.
Definition:
Installer.php:22
libs
composer
vendor
robloach
component-installer
src
ComponentInstaller
ComponentInstallerPlugin.php
Generated on Fri Jan 17 2025 19:00:55 for ILIAS by
1.8.13 (using
Doxyfile
)