Bluz\Cache\Adapter\AbstractAdapter::set PHP Method

set() public method

public set ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean
$id string
$data mixed
$ttl integer
return boolean
    public function set($id, $data, $ttl = Cache::TTL_NO_EXPIRY)
    {
        return $this->doSet($id, $data, $ttl);
    }