PHP Class spec\GrumPHP\Event\Subscriber\ProgressSubscriberSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: phpro/grumphp

Public Methods

Method Description
it_finishes_progress ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar, RunnerEvent $event )
it_finishes_progress_early ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar, RunnerEvent $event )
it_is_an_event_subscriber ( )
it_is_initializable ( )
it_should_advance_progress ( ProgressBar $progressBar, GrumPHP\Event\TaskEvent $event, GrumPHP\Task\TaskInterface $task )
it_should_subscribe_to_events ( )
it_starts_progress ( ProgressBar $progressBar, RunnerEvent $event, TasksCollection $tasks )
let ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar )

Method Details

it_finishes_progress() public method

public it_finishes_progress ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar, RunnerEvent $event )
$output Symfony\Component\Console\Output\OutputInterface
$progressBar Symfony\Component\Console\Helper\ProgressBar
$event GrumPHP\Event\RunnerEvent

it_finishes_progress_early() public method

public it_finishes_progress_early ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar, RunnerEvent $event )
$output Symfony\Component\Console\Output\OutputInterface
$progressBar Symfony\Component\Console\Helper\ProgressBar
$event GrumPHP\Event\RunnerEvent

it_is_an_event_subscriber() public method

it_is_initializable() public method

public it_is_initializable ( )

it_should_advance_progress() public method

public it_should_advance_progress ( ProgressBar $progressBar, GrumPHP\Event\TaskEvent $event, GrumPHP\Task\TaskInterface $task )
$progressBar Symfony\Component\Console\Helper\ProgressBar
$event GrumPHP\Event\TaskEvent
$task GrumPHP\Task\TaskInterface

it_should_subscribe_to_events() public method

it_starts_progress() public method

public it_starts_progress ( ProgressBar $progressBar, RunnerEvent $event, TasksCollection $tasks )
$progressBar Symfony\Component\Console\Helper\ProgressBar
$event GrumPHP\Event\RunnerEvent
$tasks GrumPHP\Collection\TasksCollection

let() public method

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