PHP Класс Barryvdh\Composer\CleanupPlugin

Наследование: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$composer Composer\Composer
$config Composer\Config
$filesystem Composer\Util\Filesystem
$io Composer\IO\IOInterface
$rules array

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
cleanPackage ( Composer\Package\BasePackage $package ) : boolean Clean a package, based on its rules.

Описание методов

activate() публичный Метод

{@inheritDoc}
public activate ( Composer\Composer $composer, Composer\IO\IOInterface $io )
$composer Composer\Composer
$io Composer\IO\IOInterface

cleanPackage() защищенный Метод

Clean a package, based on its rules.
protected cleanPackage ( Composer\Package\BasePackage $package ) : boolean
$package Composer\Package\BasePackage The package to clean
Результат boolean True if cleaned

getSubscribedEvents() публичный статический Метод

{@inheritDoc}
public static getSubscribedEvents ( )

onPostInstallUpdateCmd() публичный Метод

Function to run after a package has been updated
public onPostInstallUpdateCmd ( Composer\Script\CommandEvent $event )
$event Composer\Script\CommandEvent

onPostPackageInstall() публичный Метод

Function to run after a package has been installed
public onPostPackageInstall ( Composer\Script\PackageEvent $event )
$event Composer\Script\PackageEvent

onPostPackageUpdate() публичный Метод

Function to run after a package has been updated
public onPostPackageUpdate ( Composer\Script\PackageEvent $event )
$event Composer\Script\PackageEvent

Описание свойств

$composer защищенное свойство

protected Composer,Composer $composer
Результат Composer\Composer

$config защищенное свойство

protected Config,Composer $config
Результат Composer\Config

$filesystem защищенное свойство

protected Filesystem,Composer\Util $filesystem
Результат Composer\Util\Filesystem

$io защищенное свойство

protected IOInterface,Composer\IO $io
Результат Composer\IO\IOInterface

$rules защищенное свойство

protected array $rules
Результат array