vault/classes/Maikuolan/Cache.php
public function clearCache()
    {
        if ($this->Using === 'APCu') {
            return $this->Modified = apcu_clear_cache();
        }
        if ($this->Using === 'Memcached') {
            return ($this->WorkingData->flush() && ($this->Modified = true));
        }
        if ($this->Using === 'Redis') {
            return ($this->WorkingData->flushDb() && ($this->Modified = true));
        }
        if ($this->Using === 'PDO') {
            $PDO = $this->WorkingData->prepare(self::clearQuery);
            if ($PDO !== false && $PDO->execute()) {
                return ($PDO->rowCount() > 0 && $this->Modified = true);
            }
            return false;
        }
        if (is_array($this->WorkingData)) {
            $this->WorkingData = [];
            return $this->Modified = true;
        }
        return false;
    }
public function clearCache()
    {
        if ($this->Using === 'APCu') {
            return $this->Modified = apcu_clear_cache();
        }
        if ($this->Using === 'Memcached') {
            return ($this->WorkingData->flush() && ($this->Modified = true));
        }
        if ($this->Using === 'Redis') {
            return ($this->WorkingData->flushDb() && ($this->Modified = true));
        }
        if ($this->Using === 'PDO') {
            $PDO = $this->WorkingData->prepare(self::clearQuery);
            if ($PDO !== false && $PDO->execute()) {
                return ($PDO->rowCount() > 0 && $this->Modified = true);
            }
            return false;
        }
        if (is_array($this->WorkingData)) {
            $this->WorkingData = [];
            return $this->Modified = true;
        }
        return false;
    }
public function clearCache ( ) { if ( $ this -> Using === 'APCu' ) { return $ this -> Modified = apcu_clear_cache ( ) ; } if ( $ this -> Using === 'Memcached' ) { return ( $ this -> WorkingData -> flush ( ) && ( $ this -> Modified = true ) ) ; } if ( $ this -> Using === 'Redis' ) { return ( $ this -> WorkingData -> flushDb ( ) && ( $ this -> Modified = true ) ) ; } if ( $ this -> Using === 'PDO' ) { $ PDO = $ this -> WorkingData -> prepare ( self :: clearQuery ) ; if ( $ PDO !== false && $ PDO -> execute ( ) ) { return ( $ PDO -> rowCount ( ) > 0 && $ this -> Modified = true ) ; } return false ; } if ( is_array ( $ this -> WorkingData ) ) { $ this -> WorkingData = [ ] ; return $ this -> Modified = true ; } return false ; }
Clears the entire cache.

@return bool True on success; False on failure.
Clears the entire cache .