PHP Class Studio\Composer\StudioPlugin

Inheritance: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
ファイルを表示 Open project: franzliedke/studio

Protected Properties

Property Type Description
$composer Composer\Composer
$io Composer\IO\IOInterface

Public Methods

Method Description
activate ( Composer\Composer $composer, Composer\IO\IOInterface $io )
getSubscribedEvents ( )
registerStudioPackages ( ) Register all managed paths with Composer.

Private Methods

Method Description
getManagedPaths ( ) : array Get the list of paths that are being managed by Studio.

Method Details

activate() public method

public activate ( Composer\Composer $composer, Composer\IO\IOInterface $io )
$composer Composer\Composer
$io Composer\IO\IOInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

registerStudioPackages() public method

This function configures Composer to treat all Studio-managed paths as local path repositories, so that packages therein will be symlinked directly.

Property Details

$composer protected_oe property

protected Composer,Composer $composer
return Composer\Composer

$io protected_oe property

protected IOInterface,Composer\IO $io
return Composer\IO\IOInterface