PHP Класс Eloquent\Composer\NpmBridge\NpmBridgePlugin

Наследование: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( NpmBridgeFactory $bridgeFactory = null ) Construct a new Composer NPM bridge plugin.
activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) Activate the plugin.
getSubscribedEvents ( ) : string>\array Get the event subscriber configuration for this plugin.
onPostInstallCmd ( Composer\Script\Event $event ) Handle post install command events.
onPostUpdateCmd ( Composer\Script\Event $event ) Handle post update command events.

Описание методов

__construct() публичный Метод

Construct a new Composer NPM bridge plugin.
public __construct ( NpmBridgeFactory $bridgeFactory = null )
$bridgeFactory NpmBridgeFactory The bridge factory to use.

activate() публичный Метод

Activate the plugin.
public activate ( Composer\Composer $composer, Composer\IO\IOInterface $io )
$composer Composer\Composer The main Composer object.
$io Composer\IO\IOInterface The i/o interface to use.

getSubscribedEvents() публичный статический Метод

Get the event subscriber configuration for this plugin.
public static getSubscribedEvents ( ) : string>\array
Результат string>\array

onPostInstallCmd() публичный Метод

Handle post install command events.
public onPostInstallCmd ( Composer\Script\Event $event )
$event Composer\Script\Event The event to handle.

onPostUpdateCmd() публичный Метод

Handle post update command events.
public onPostUpdateCmd ( Composer\Script\Event $event )
$event Composer\Script\Event The event to handle.