Свойство | Type | Description | |
---|---|---|---|
$composer | Composer\Composer | ||
$config | Composer\Config | ||
$filesystem | Composer\Util\Filesystem | ||
$io | Composer\IO\IOInterface | ||
$rules | array |
Méthode | Description | |
---|---|---|
activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | {@inheritDoc} | |
getSubscribedEvents ( ) | {@inheritDoc} | |
onPostInstallUpdateCmd ( Composer\Script\CommandEvent $event ) | Function to run after a package has been updated | |
onPostPackageInstall ( Composer\Script\PackageEvent $event ) | Function to run after a package has been installed | |
onPostPackageUpdate ( Composer\Script\PackageEvent $event ) | Function to run after a package has been updated |
Méthode | Description | |
---|---|---|
cleanPackage ( Composer\Package\BasePackage $package ) : boolean | Clean a package, based on its rules. |
public activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | ||
$composer | Composer\Composer | |
$io | Composer\IO\IOInterface |
protected cleanPackage ( Composer\Package\BasePackage $package ) : boolean | ||
$package | Composer\Package\BasePackage | The package to clean |
Résultat | boolean | True if cleaned |
public onPostInstallUpdateCmd ( Composer\Script\CommandEvent $event ) | ||
$event | Composer\Script\CommandEvent |
public onPostPackageInstall ( Composer\Script\PackageEvent $event ) | ||
$event | Composer\Script\PackageEvent |
public onPostPackageUpdate ( Composer\Script\PackageEvent $event ) | ||
$event | Composer\Script\PackageEvent |
protected Filesystem,Composer\Util $filesystem | ||
Résultat | Composer\Util\Filesystem |