original_string: public function generateFiles() {
          if ($this->files === null) {
              $this->files = array();
              $this->tracingLinks = array();
              $this->_generateFiles();
          }
          if ($this->settings->getOptional("logFile", false))
              return array_merge(array($this->logFile), $this->files);
          else
              return $this->files;
      }
code: public function generateFiles() {
          if ($this->files === null) {
              $this->files = array();
              $this->tracingLinks = array();
              $this->_generateFiles();
          }
          if ($this->settings->getOptional("logFile", false))
              return array_merge(array($this->logFile), $this->files);
          else
              return $this->files;
      }
code_tokens: public function generateFiles ( ) { if ( $ this -> files === null ) { $ this -> files = array ( ) ; $ this -> tracingLinks = array ( ) ; $ this -> _generateFiles ( ) ; } if ( $ this -> settings -> getOptional ( "logFile" , false ) ) return array_merge ( array ( $ this -> logFile ) , $ this -> files ) ; else return $ this -> files ; }
docstring: Generates the files for all registered artifacts.
  If the files have already been generated, returns the cached files.
  The generator's log file is included.
  @return \FeaturePhp\File\File[]
docstring_tokens: Generates the files for all registered artifacts . If the files have already been generated returns the cached files . The generator s log file is included .