public function cache($seconds = null)
    {
        if ($seconds === null) {
            $this->cacheTime = $this->defaultCacheTime;
        } elseif ($seconds === false) {
            $this->cacheTime = false;
        } else {
            $this->cacheTime = (int)$seconds;
        }
        return $this;
    }
public function cache($seconds = null)
    {
        if ($seconds === null) {
            $this->cacheTime = $this->defaultCacheTime;
        } elseif ($seconds === false) {
            $this->cacheTime = false;
        } else {
            $this->cacheTime = (int)$seconds;
        }
        return $this;
    }
public function cache ( $ seconds = null ) { if ( $ seconds === null ) { $ this -> cacheTime = $ this -> defaultCacheTime ; } elseif ( $ seconds === false ) { $ this -> cacheTime = false ; } else { $ this -> cacheTime = ( int ) $ seconds ; } return $ this ; }
Set or remove cache time for the query

@param int|null|false $seconds
@return $this
Set or remove cache time for the query