public function clearCache()
    {
        if (!empty($this->schema))
        {
            $this->schema->clearCache();
        }

        $this->dao = [];
        $this->schema = null;
        return $this;
    }
public function clearCache()
    {
        if (!empty($this->schema))
        {
            $this->schema->clearCache();
        }

        $this->dao = [];
        $this->schema = null;
        return $this;
    }
public function clearCache ( ) { if ( ! empty ( $ this -> schema ) ) { $ this -> schema -> clearCache ( ) ; } $ this -> dao = [ ] ; $ this -> schema = null ; return $ this ; }
Flush all cached DAOs and schema - useful after a schema alteration
@return DB Provides fluent interface
Flush all cached DAOs and schema - useful after a schema alteration