GrumPHP\Console\Helper\TaskRunnerHelper::registerEventListeners PHP Метод

registerEventListeners() приватный Метод

private registerEventListeners ( Symfony\Component\Console\Output\OutputInterface $output, GrumPHP\Task\Context\ContextInterface $context )
$output Symfony\Component\Console\Output\OutputInterface
$context GrumPHP\Task\Context\ContextInterface
    private function registerEventListeners(OutputInterface $output, ContextInterface $context)
    {
        $this->eventDispatcher->addSubscriber(new ProgressSubscriber($output, new ProgressBar($output)));
    }