PHP Class GrumPHP\Event\Subscriber\ProgressSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Mostra file Open project: phpro/grumphp

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar )
advanceProgress ( GrumPHP\Event\TaskEvent $event )
finishProgress ( RunnerEvent $runnerEvent )
getSubscribedEvents ( ) : array
startProgress ( RunnerEvent $event )

Method Details

__construct() public method

public __construct ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar )
$output Symfony\Component\Console\Output\OutputInterface
$progressBar Symfony\Component\Console\Helper\ProgressBar

advanceProgress() public method

public advanceProgress ( GrumPHP\Event\TaskEvent $event )
$event GrumPHP\Event\TaskEvent

finishProgress() public method

public finishProgress ( RunnerEvent $runnerEvent )
$runnerEvent GrumPHP\Event\RunnerEvent

getSubscribedEvents() public static method

public static getSubscribedEvents ( ) : array
return array

startProgress() public method

public startProgress ( RunnerEvent $event )
$event GrumPHP\Event\RunnerEvent