public function write()
    {
        $stats = array('hits' => $this->hits, 'misses' => $this->misses);

        file_put_contents($this->getFilename(), serialize($stats));
    }
public function write()
    {
        $stats = array('hits' => $this->hits, 'misses' => $this->misses);

        file_put_contents($this->getFilename(), serialize($stats));
    }
public function write ( ) { $ stats = array ( 'hits' => $ this -> hits , 'misses' => $ this -> misses ) ; file_put_contents ( $ this -> getFilename ( ) , serialize ( $ stats ) ) ; }
Write statistics to cache directory
Write statistics to cache directory