public function save($id, $content, $ttl=0)
    {
        if (empty($id)) {
            return false;
        }

        self::$staticCache[$id] = $content;

        return $this->cache->save($id, $content, $this->ttl);
    }
public function save($id, $content, $ttl=0)
    {
        if (empty($id)) {
            return false;
        }

        self::$staticCache[$id] = $content;

        return $this->cache->save($id, $content, $this->ttl);
    }
public function save ( $ id , $ content , $ ttl = 0 ) { if ( empty ( $ id ) ) { return false ; } self :: $ staticCache [ $ id ] = $ content ; return $ this -> cache -> save ( $ id , $ content , $ this -> ttl ) ; }
A function to store content a cache entry.

@param string $id The cache entry ID
@param array $content The cache content
@throws \Exception
@return bool  True if the entry was successfully stored
A function to store content a cache entry .