PHP 클래스 Eloquent\Composer\NpmBridge\NpmBridgePlugin

상속: implements Composer\Plugin\PluginInterface, implements Composer\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: eloquent/composer-npm-bridge

공개 메소드들

메소드 설명
__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.