original_string: public function main()
    {
      // Get base info about project.
      $this->prepareProjectData();
  
      // Get all info about source files.
      $this->getInfoSourceFiles();
  
      // Get all info about resource files.
      $this->getInfoResourceFiles();
  
      // Prepare all place holders.
      $this->preparePlaceHolders();
  
      // Replace references to resource files with references to optimized/minimized resource files.
      $this->processingSourceFiles();
  
      // Compress and rename files with hash.
      $this->processResourceFiles();
  
      // Create pre-compressed versions of the optimized/minimized resource files.
      if ($this->gzipFlag) $this->gzipCompressOptimizedResourceFiles();
  
      // Remove original resource files that are optimized/minimized.
      $this->unlinkResourceFiles();
    }
code: public function main()
    {
      // Get base info about project.
      $this->prepareProjectData();
  
      // Get all info about source files.
      $this->getInfoSourceFiles();
  
      // Get all info about resource files.
      $this->getInfoResourceFiles();
  
      // Prepare all place holders.
      $this->preparePlaceHolders();
  
      // Replace references to resource files with references to optimized/minimized resource files.
      $this->processingSourceFiles();
  
      // Compress and rename files with hash.
      $this->processResourceFiles();
  
      // Create pre-compressed versions of the optimized/minimized resource files.
      if ($this->gzipFlag) $this->gzipCompressOptimizedResourceFiles();
  
      // Remove original resource files that are optimized/minimized.
      $this->unlinkResourceFiles();
    }
code_tokens: public function main ( ) { // Get base info about project. $ this -> prepareProjectData ( ) ; // Get all info about source files. $ this -> getInfoSourceFiles ( ) ; // Get all info about resource files. $ this -> getInfoResourceFiles ( ) ; // Prepare all place holders. $ this -> preparePlaceHolders ( ) ; // Replace references to resource files with references to optimized/minimized resource files. $ this -> processingSourceFiles ( ) ; // Compress and rename files with hash. $ this -> processResourceFiles ( ) ; // Create pre-compressed versions of the optimized/minimized resource files. if ( $ this -> gzipFlag ) $ this -> gzipCompressOptimizedResourceFiles ( ) ; // Remove original resource files that are optimized/minimized. $ this -> unlinkResourceFiles ( ) ; }
docstring: Main method of this Phing task.
docstring_tokens: Main method of this Phing task .