public function set($key, $value, $ttl = null, $dependency = null): bool
    {
        if ($dependency !== null) {
            $dependency->evaluateDependency($this);
            $value = [$value, $dependency];
        }
        $key = $this->buildKey($key);
        return $this->_handler->set($key, $value, $ttl);
    }