protected function createExtended(
        $key,
        $value,
        $lifetime,
        $scope,
        $userdata = ''
    ) {
        try {
            $result = $this->getContainer()->create(
                $key,
                $value,
                $lifetime,
                $scope,
                $userdata
            );
        } catch (Exception $e) {
            throw new Doozr_Cache_Service_Exception(
                sprintf('Error creating cache entry for with key: "%s".', $key)
            );
        }

        return $result !== false;
    }
protected function createExtended(
        $key,
        $value,
        $lifetime,
        $scope,
        $userdata = ''
    ) {
        try {
            $result = $this->getContainer()->create(
                $key,
                $value,
                $lifetime,
                $scope,
                $userdata
            );
        } catch (Exception $e) {
            throw new Doozr_Cache_Service_Exception(
                sprintf('Error creating cache entry for with key: "%s".', $key)
            );
        }

        return $result !== false;
    }
protected function createExtended ( $ key , $ value , $ lifetime , $ scope , $ userdata = '' ) { try { $ result = $ this -> getContainer ( ) -> create ( $ key , $ value , $ lifetime , $ scope , $ userdata ) ; } catch ( Exception $ e ) { throw new Doozr_Cache_Service_Exception ( sprintf ( 'Error creating cache entry for with key: "%s".' , $ key ) ) ; } return $ result !== false ; }
Stores a dataset with additional user-defined data.

@param string $key      The key of the entry
@param mixed  $value    The value of the entry
@param int    $lifetime The time to expire
@param string $scope    The dataset scope
@param string $userdata The userdata to add

@author Benjamin Carl <opensource@clickalicious.de>

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

@throws Doozr_Cache_Service_Exception
Stores a dataset with additional user - defined data .