public function optimize()
    {
        $path = $this->getCachePath();

        $packages = $this->getPackages();

        $this->writeCache($path, $packages);
    }
public function optimize()
    {
        $path = $this->getCachePath();

        $packages = $this->getPackages();

        $this->writeCache($path, $packages);
    }
public function optimize ( ) { $ path = $ this -> getCachePath ( ) ; $ packages = $ this -> getPackages ( ) ; $ this -> writeCache ( $ path , $ packages ) ; }
Update cached repository of packages information.

@return bool
Update cached repository of packages information .