PHP Class PackageVersions\Installer

Inheritance: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: Ocramius/PackageVersions

Méthodes publiques

Méthode Description
activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) {@inheritDoc}
dumpVersionsClass ( Composer\Script\Event $composerEvent ) : void
getSubscribedEvents ( ) {@inheritDoc}

Private Methods

Méthode Description
generateVersionsClass ( Composer\Composer $composer ) : string
getRootPackageAlias ( Composer\Package\RootPackageInterface $rootPackage ) : Composer\Package\PackageInterface
getVersions ( Composer\Package\Locker $locker, Composer\Package\RootPackageInterface $rootPackage ) : Generator
locateRootPackageInstallPath ( Composer\Config $composerConfig, Composer\Package\RootPackageInterface $rootPackage ) : string
writeVersionClassToFile ( string $versionClassSource, Composer\Config $composerConfig, Composer\Package\RootPackageInterface $rootPackage ) : void

Method Details

activate() public méthode

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

dumpVersionsClass() public static méthode

public static dumpVersionsClass ( Composer\Script\Event $composerEvent ) : void
$composerEvent Composer\Script\Event
Résultat void

getSubscribedEvents() public static méthode

{@inheritDoc}
public static getSubscribedEvents ( )