public function update(
        $key,
        $value,
        $lifetime = null,
        $scope = null
    ) {
        if ($scope === null) {
            $scope = $this->getScope();
        }

        return $this->create($key, $value, $lifetime, $scope);
    }
public function update(
        $key,
        $value,
        $lifetime = null,
        $scope = null
    ) {
        if ($scope === null) {
            $scope = $this->getScope();
        }

        return $this->create($key, $value, $lifetime, $scope);
    }
public function update ( $ key , $ value , $ lifetime = null , $ scope = null ) { if ( $ scope === null ) { $ scope = $ this -> getScope ( ) ; } return $ this -> create ( $ key , $ value , $ lifetime , $ scope ) ; }
Updates an entry.

@param string $key      The dataset Id
@param string $value    The data to write to cache
@param int    $lifetime Date/Time on which the cache-entry expires
@param string $scope    The dataset group

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if dataset could be written, otherwise FALSE

@throws Doozr_Cache_Service_Exception
Updates an entry .