src/BaseConnector.php
protected function setCache(string $key, $value = null, int $cacheTime = null) {
        $cacheTime = ($cacheTime === null ? $this->getCacheTime() : $cacheTime);
        $cacheUtil = $this->getCacheUtil();

        if($cacheUtil === null) {
            return null;
        }

        return $this->cacheUtil->set($key, $value, $cacheTime);
    }
protected function setCache(string $key, $value = null, int $cacheTime = null) {
        $cacheTime = ($cacheTime === null ? $this->getCacheTime() : $cacheTime);
        $cacheUtil = $this->getCacheUtil();

        if($cacheUtil === null) {
            return null;
        }

        return $this->cacheUtil->set($key, $value, $cacheTime);
    }
@param string $key
@param mixed $value
@param int|null $cacheTime

@return bool|null