original_string: public function listCronsStatus()
      {
          /** @var SmileCron[] $smileCrons */
          $smileCrons = $this->repository->listCrons();
  
          /** @var CronInterface[] $crons */
          $crons = $this->getCrons();
          $cronAlias = array();
  
          foreach ($crons as $cron) {
              $cronAlias[$cron->getAlias()] = $cron;
          }
  
          if ($smileCrons) {
              foreach ($smileCrons as $smileCron) {
                  if (isset($cronAlias[$smileCron->getAlias()])) {
                      $cronAlias[$smileCron->getAlias()] = $smileCron;
                  }
              }
          }
  
          return $cronAlias;
      }
code: public function listCronsStatus()
      {
          /** @var SmileCron[] $smileCrons */
          $smileCrons = $this->repository->listCrons();
  
          /** @var CronInterface[] $crons */
          $crons = $this->getCrons();
          $cronAlias = array();
  
          foreach ($crons as $cron) {
              $cronAlias[$cron->getAlias()] = $cron;
          }
  
          if ($smileCrons) {
              foreach ($smileCrons as $smileCron) {
                  if (isset($cronAlias[$smileCron->getAlias()])) {
                      $cronAlias[$smileCron->getAlias()] = $smileCron;
                  }
              }
          }
  
          return $cronAlias;
      }
code_tokens: public function listCronsStatus ( ) { /** @var SmileCron[] $smileCrons */ $ smileCrons = $ this -> repository -> listCrons ( ) ; /** @var CronInterface[] $crons */ $ crons = $ this -> getCrons ( ) ; $ cronAlias = array ( ) ; foreach ( $ crons as $ cron ) { $ cronAlias [ $ cron -> getAlias ( ) ] = $ cron ; } if ( $ smileCrons ) { foreach ( $ smileCrons as $ smileCron ) { if ( isset ( $ cronAlias [ $ smileCron -> getAlias ( ) ] ) ) { $ cronAlias [ $ smileCron -> getAlias ( ) ] = $ smileCron ; } } } return $ cronAlias ; }
docstring: Return cron list and status
  
  @return SmileCron[] cron list with status
docstring_tokens: Return cron list and status