Property | Type | Description | |
---|---|---|---|
$composer | Composer\Composer | ||
$config | MagentoHackathon\Composer\Magento\ProjectConfig | ||
$deployManager | MagentoHackathon\Composer\Magento\DeployManager | ||
$filesystem | Composer\Util\Filesystem | ||
$io | Composer\IO\IOInterface |
Method | Description | |
---|---|---|
activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | ||
getSubscribedEvents ( ) | ||
onCommandEvent ( Composer\Plugin\CommandEvent $event ) | actually is triggered before anything got executed | |
onNewCodeEvent ( Composer\Script\Event $event ) | event listener is named this way, as it listens for events leading to changed code files | |
onPackageUnistall ( Composer\Installer\PackageEvent $event ) |
Method | Description | |
---|---|---|
copyRecursive ( string $source, string $target ) | Copy then delete is a non-atomic version of {@link rename}. | |
deployLibraries ( ) | ||
initDeployManager ( Composer\Composer $composer, Composer\IO\IOInterface $io ) |
Method | Description | |
---|---|---|
requestRegeneration ( ) : void | Force regeneration of var/di, var/cache, var/generation on next object manager invocation | |
saveVendorDirPath ( Composer\Composer $composer ) | Generate file with path to Composer 'vendor' dir to be used by the application | |
setFilePermissions ( ) : void | Set permissions for files using extra->chmod from composer.json |
public activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | ||
$composer | Composer\Composer | |
$io | Composer\IO\IOInterface |
protected copyRecursive ( string $source, string $target ) | ||
$source | string | |
$target | string |
protected initDeployManager ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | ||
$composer | Composer\Composer | |
$io | Composer\IO\IOInterface |
public onCommandEvent ( Composer\Plugin\CommandEvent $event ) | ||
$event | Composer\Plugin\CommandEvent |
public onNewCodeEvent ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event |
public onPackageUnistall ( Composer\Installer\PackageEvent $event ) | ||
$event | Composer\Installer\PackageEvent |
protected ProjectConfig,MagentoHackathon\Composer\Magento $config | ||
return | MagentoHackathon\Composer\Magento\ProjectConfig |
protected DeployManager,MagentoHackathon\Composer\Magento $deployManager | ||
return | MagentoHackathon\Composer\Magento\DeployManager |
protected Filesystem,Composer\Util $filesystem | ||
return | Composer\Util\Filesystem |