public function refresh()
    {
        /* @var $cache Cache */
        $cache = is_string($this->db->schemaCache) ? Yii::$app->get($this->db->schemaCache, false) : $this->db->schemaCache;
        if ($this->db->enableSchemaCache && $cache instanceof Cache) {
            TagDependency::invalidate($cache, $this->getCacheTag());
        }
        $this->_indexNames = [];
        $this->_indexes = [];
    }
public function refresh()
    {
        /* @var $cache Cache */
        $cache = is_string($this->db->schemaCache) ? Yii::$app->get($this->db->schemaCache, false) : $this->db->schemaCache;
        if ($this->db->enableSchemaCache && $cache instanceof Cache) {
            TagDependency::invalidate($cache, $this->getCacheTag());
        }
        $this->_indexNames = [];
        $this->_indexes = [];
    }
public function refresh ( ) { /* @var $cache Cache */ $ cache = is_string ( $ this -> db -> schemaCache ) ? Yii :: $ app -> get ( $ this -> db -> schemaCache , false ) : $ this -> db -> schemaCache ; if ( $ this -> db -> enableSchemaCache && $ cache instanceof Cache ) { TagDependency :: invalidate ( $ cache , $ this -> getCacheTag ( ) ) ; } $ this -> _indexNames = [ ] ; $ this -> _indexes = [ ] ; }
Refreshes the schema.
This method cleans up all cached index schemas so that they can be re-created later
to reflect the Sphinx schema change.
Refreshes the schema . This method cleans up all cached index schemas so that they can be re - created later to reflect the Sphinx schema change .