original_string: public function initWebsiteIds()
      {
          if (count($this->shouldArchiveSpecifiedSites) > 0) {
              $this->logger->info("- Will process " . count($this->shouldArchiveSpecifiedSites) . " websites (--force-idsites)");
  
              return $this->shouldArchiveSpecifiedSites;
          }
  
          $this->findWebsiteIdsInTimezoneWithNewDay($this->allWebsites);
          $this->findInvalidatedSitesToReprocess();
  
          if ($this->shouldArchiveAllSites) {
              $this->logger->info("- Will process all " . count($this->allWebsites) . " websites");
          }
  
          return $this->allWebsites;
      }
code: public function initWebsiteIds()
      {
          if (count($this->shouldArchiveSpecifiedSites) > 0) {
              $this->logger->info("- Will process " . count($this->shouldArchiveSpecifiedSites) . " websites (--force-idsites)");
  
              return $this->shouldArchiveSpecifiedSites;
          }
  
          $this->findWebsiteIdsInTimezoneWithNewDay($this->allWebsites);
          $this->findInvalidatedSitesToReprocess();
  
          if ($this->shouldArchiveAllSites) {
              $this->logger->info("- Will process all " . count($this->allWebsites) . " websites");
          }
  
          return $this->allWebsites;
      }
code_tokens: public function initWebsiteIds ( ) { if ( count ( $ this -> shouldArchiveSpecifiedSites ) > 0 ) { $ this -> logger -> info ( "- Will process " . count ( $ this -> shouldArchiveSpecifiedSites ) . " websites (--force-idsites)" ) ; return $ this -> shouldArchiveSpecifiedSites ; } $ this -> findWebsiteIdsInTimezoneWithNewDay ( $ this -> allWebsites ) ; $ this -> findInvalidatedSitesToReprocess ( ) ; if ( $ this -> shouldArchiveAllSites ) { $ this -> logger -> info ( "- Will process all " . count ( $ this -> allWebsites ) . " websites" ) ; } return $ this -> allWebsites ; }
docstring: Returns the list of sites to loop over and archive.
  @return array
docstring_tokens: Returns the list of sites to loop over and archive .