Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
activate (Composer $composer, IOInterface $io) | |
onPackageUnistall (\Composer\Installer\PackageEvent $event) | |
onCommandEvent (\Composer\Plugin\CommandEvent $event) | |
onNewCodeEvent (\Composer\Script\Event $event) | |
Static Public Member Functions | |
static | getSubscribedEvents () |
Protected Member Functions | |
initDeployManager (Composer $composer, IOInterface $io) | |
copyRecursive ($source, $target) | |
Protected Attributes | |
$io | |
$config | |
$deployManager | |
$composer | |
$filesystem | |
Definition at line 27 of file Plugin.php.
activate | ( | Composer | $composer, |
IOInterface | $io | ||
) |
Definition at line 84 of file Plugin.php.
|
protected |
Copy then delete is a non-atomic version of rename.
Some systems can't rename and also don't have proc_open, which requires this solution.
copied from \Composer\Util\Filesystem::copyThenRemove and removed the remove part
string | $source | |
string | $target |
Definition at line 283 of file Plugin.php.
|
static |
Definition at line 100 of file Plugin.php.
|
protected |
Definition at line 73 of file Plugin.php.
onCommandEvent | ( | \Composer\Plugin\CommandEvent | $event | ) |
actually is triggered before anything got executed
\Composer\Plugin\CommandEvent | $event |
Definition at line 140 of file Plugin.php.
onNewCodeEvent | ( | \Composer\Script\Event | $event | ) |
event listener is named this way, as it listens for events leading to changed code files
\Composer\Script\Event | $event |
Definition at line 150 of file Plugin.php.
onPackageUnistall | ( | \Composer\Installer\PackageEvent | $event | ) |
Definition at line 118 of file Plugin.php.
|
protected |
Definition at line 51 of file Plugin.php.
|
protected |
Definition at line 39 of file Plugin.php.
|
protected |
Definition at line 45 of file Plugin.php.
|
protected |
Definition at line 61 of file Plugin.php.
|
protected |
Definition at line 33 of file Plugin.php.