Submit
Path:
~
/
/
usr
/
share
/
psa-roundcube
/
vendor
/
roundcube
/
plugin-installer
/
src
/
File Content:
RoundcubeInstaller.php
<?php namespace Roundcube\Composer; use Composer\Composer; use Composer\IO\IOInterface; use Composer\Plugin\PluginInterface; class RoundcubeInstaller implements PluginInterface { private $extentions = [PluginInstaller::class, SkinInstaller::class]; private $installers = []; #[\Override] public function activate(Composer $composer, IOInterface $io) { foreach ($this->extentions as $extension) { $installer = new $extension($io, $composer); $composer->getInstallationManager()->addInstaller($installer); $this->installers[] = $installer; } } #[\Override] public function deactivate(Composer $composer, IOInterface $io) { foreach ($this->installers as $installer) { $composer->getInstallationManager()->removeInstaller($installer); } } #[\Override] public function uninstall(Composer $composer, IOInterface $io) {} }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
ExtensionInstaller.php
17008 bytes
0644
PluginInstaller.php
1518 bytes
0644
RoundcubeInstaller.php
950 bytes
0644
SkinInstaller.php
1396 bytes
0644
N4ST4R_ID | Naxtarrr