src/FelixOnline/Base/BaseManager.php
public function cache($flag, $expiry = null)
    {
        $this->cache = (boolean) $flag;

        if (!is_null($expiry)) {
            $this->cacheExpiry = $expiry;
        }
        return $this;
    }
public function cache($flag, $expiry = null)
    {
        $this->cache = (boolean) $flag;

        if (!is_null($expiry)) {
            $this->cacheExpiry = $expiry;
        }
        return $this;
    }
Set cache status