PHP Class Bolt\Composer\EventListener\PackageEventListener

Author: Ross Riley ([email protected])
Author: Carson Full ([email protected])
Author: Gawain Lynch ([email protected])
ファイルを表示 Open project: bolt/bolt

Public Methods

Method Description
dump ( Composer\Script\Event $event ) Dump the metadata for extension loading on the 'post-autoload-dump' event.
handle ( Composer\Installer\PackageEvent $event ) Event handler for composer package events
mirror ( string $source, string $dest, Composer\Installer\PackageEvent $event ) Mirror a directory if the two directories don't match.

Private Methods

Method Description
getInstalledComposerJson ( ) : Finder | Symfony\Component\Finder\SplFileInfo[] Return all the installed extension composer.json files.

Method Details

dump() public static method

Dump the metadata for extension loading on the 'post-autoload-dump' event.
public static dump ( Composer\Script\Event $event )
$event Composer\Script\Event

handle() public static method

Event handler for composer package events
public static handle ( Composer\Installer\PackageEvent $event )
$event Composer\Installer\PackageEvent

mirror() public static method

Mirror a directory if the two directories don't match.
public static mirror ( string $source, string $dest, Composer\Installer\PackageEvent $event )
$source string
$dest string
$event Composer\Installer\PackageEvent