original_string: public function optimize()
      {
          $path = $this->getCachePath();
  
          $packages = $this->getPackages();
  
          $this->writeCache($path, $packages);
      }
code: public function optimize()
      {
          $path = $this->getCachePath();
  
          $packages = $this->getPackages();
  
          $this->writeCache($path, $packages);
      }
code_tokens: public function optimize ( ) { $ path = $ this -> getCachePath ( ) ; $ packages = $ this -> getPackages ( ) ; $ this -> writeCache ( $ path , $ packages ) ; }
docstring: Update cached repository of packages information.
  
  @return bool
docstring_tokens: Update cached repository of packages information .