PHP Class Gush\Subscriber\CoreInitSubscriber

Inheritance: extends Gush\Subscriber\BaseGitRepoSubscriber
Exibir arquivo Open project: gushphp/gush

Public Methods

Method Description
decorateDefinition ( Symfony\Component\Console\Event\ConsoleCommandEvent $event )
getSubscribedEvents ( )
initialize ( Symfony\Component\Console\Event\ConsoleEvent $event ) Use this for detecting the org and repo.

Private Methods

Method Description
detectAdapterName ( ) : null | string

Method Details

decorateDefinition() public method

public decorateDefinition ( Symfony\Component\Console\Event\ConsoleCommandEvent $event )
$event Symfony\Component\Console\Event\ConsoleCommandEvent

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

initialize() public method

Add the options to decorateDefinition.
public initialize ( Symfony\Component\Console\Event\ConsoleEvent $event )
$event Symfony\Component\Console\Event\ConsoleEvent