PHP Class PackageVersions\Installer

Inheritance: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
Show file Open project: Ocramius/PackageVersions

Public Methods

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

Private Methods

Method 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 method

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

dumpVersionsClass() public static method

public static dumpVersionsClass ( Composer\Script\Event $composerEvent ) : void
$composerEvent Composer\Script\Event
return void

getSubscribedEvents() public static method

{@inheritDoc}
public static getSubscribedEvents ( )