original_string: public function runQueued(InputInterface $input, OutputInterface $output)
      {
          /** @var SmileCron[] $smileCrons */
          $smileCrons = $this->listQueued();
  
          /** @var CronInterface[] $crons */
          $crons = $this->getCrons();
          /** @var CronInterface[] $cronAlias */
          $cronAlias = array();
  
          foreach ($crons as $cron) {
              $cronAlias[$cron->getAlias()] = $cron;
          }
  
          if ($smileCrons) {
              foreach ($smileCrons as $smileCron) {
                  if (isset($cronAlias[$smileCron->getAlias()])) {
                      $this->run($smileCron);
                      $status = $cronAlias[$smileCron->getAlias()]->run($input, $output);
                      $this->end($smileCron, $status);
                  }
              }
          }
      }
code: public function runQueued(InputInterface $input, OutputInterface $output)
      {
          /** @var SmileCron[] $smileCrons */
          $smileCrons = $this->listQueued();
  
          /** @var CronInterface[] $crons */
          $crons = $this->getCrons();
          /** @var CronInterface[] $cronAlias */
          $cronAlias = array();
  
          foreach ($crons as $cron) {
              $cronAlias[$cron->getAlias()] = $cron;
          }
  
          if ($smileCrons) {
              foreach ($smileCrons as $smileCron) {
                  if (isset($cronAlias[$smileCron->getAlias()])) {
                      $this->run($smileCron);
                      $status = $cronAlias[$smileCron->getAlias()]->run($input, $output);
                      $this->end($smileCron, $status);
                  }
              }
          }
      }
code_tokens: public function runQueued ( InputInterface $ input , OutputInterface $ output ) { /** @var SmileCron[] $smileCrons */ $ smileCrons = $ this -> listQueued ( ) ; /** @var CronInterface[] $crons */ $ crons = $ this -> getCrons ( ) ; /** @var CronInterface[] $cronAlias */ $ cronAlias = array ( ) ; foreach ( $ crons as $ cron ) { $ cronAlias [ $ cron -> getAlias ( ) ] = $ cron ; } if ( $ smileCrons ) { foreach ( $ smileCrons as $ smileCron ) { if ( isset ( $ cronAlias [ $ smileCron -> getAlias ( ) ] ) ) { $ this -> run ( $ smileCron ) ; $ status = $ cronAlias [ $ smileCron -> getAlias ( ) ] -> run ( $ input , $ output ) ; $ this -> end ( $ smileCron , $ status ) ; } } } }
docstring: List cron commands identified as queued
  
  @param InputInterface $input input interface
  @param OutputInterface $output output interface
docstring_tokens: List cron commands identified as queued