original_string: protected function getProgressBar(InputInterface $input)
      {
          $progress = parent::getProgressBar($input);
          if (!$progress) {
              return null;
          }
  
          /** @var Dispatcher $eventDispatcher */
          $eventDispatcher = $this->getService('event_dispatcher');
          $eventDispatcher->addListener(
              'transformer.transformation.post',
              function () use ($progress) {
                  $progress->advance();
              }
          );
  
          return $progress;
      }
code: protected function getProgressBar(InputInterface $input)
      {
          $progress = parent::getProgressBar($input);
          if (!$progress) {
              return null;
          }
  
          /** @var Dispatcher $eventDispatcher */
          $eventDispatcher = $this->getService('event_dispatcher');
          $eventDispatcher->addListener(
              'transformer.transformation.post',
              function () use ($progress) {
                  $progress->advance();
              }
          );
  
          return $progress;
      }
code_tokens: protected function getProgressBar ( InputInterface $ input ) { $ progress = parent :: getProgressBar ( $ input ) ; if ( ! $ progress ) { return null ; } /** @var Dispatcher $eventDispatcher */ $ eventDispatcher = $ this -> getService ( 'event_dispatcher' ) ; $ eventDispatcher -> addListener ( 'transformer.transformation.post' , function ( ) use ( $ progress ) { $ progress -> advance ( ) ; } ) ; return $ progress ; }
docstring: Adds the transformer.transformation.post event to advance the progressbar.
  
  @param InputInterface $input
  
  @return HelperInterface|null
docstring_tokens: Adds the transformer . transformation . post event to advance the progressbar .