PHP 클래스 Barryvdh\Composer\CleanupPlugin

상속: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: barryvdh/composer-cleanup-plugin

보호된 프로퍼티들

프로퍼티 타입 설명
$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