public function save()
    {
        // Update time - now
        $updated = time();

        // Update timestamp
        $this->entries[$this->timestampKey] = $updated;

        // Update timestamp manager
        if ($this->timestampManager) {
            $this->timestampManager->update($updated);
        }

        return (bool) file_put_contents($this->path, json_encode($this->entries));
    }
public function save()
    {
        // Update time - now
        $updated = time();

        // Update timestamp
        $this->entries[$this->timestampKey] = $updated;

        // Update timestamp manager
        if ($this->timestampManager) {
            $this->timestampManager->update($updated);
        }

        return (bool) file_put_contents($this->path, json_encode($this->entries));
    }
public function save ( ) { // Update time - now $ updated = time ( ) ; // Update timestamp $ this -> entries [ $ this -> timestampKey ] = $ updated ; // Update timestamp manager if ( $ this -> timestampManager ) { $ this -> timestampManager -> update ( $ updated ) ; } return ( bool ) file_put_contents ( $ this -> path , json_encode ( $ this -> entries ) ) ; }
Save to cache.

@return bool
Save to cache .