public function getSchemaCollection()
    {
        if ($this->_schemaCollection !== null) {
            return $this->_schemaCollection;
        }

        if (!empty($this->_config['cacheMetadata'])) {
            return $this->_schemaCollection = new CachedCollection($this, $this->_config['cacheMetadata']);
        }

        return $this->_schemaCollection = new SchemaCollection($this);
    }
public function getSchemaCollection()
    {
        if ($this->_schemaCollection !== null) {
            return $this->_schemaCollection;
        }

        if (!empty($this->_config['cacheMetadata'])) {
            return $this->_schemaCollection = new CachedCollection($this, $this->_config['cacheMetadata']);
        }

        return $this->_schemaCollection = new SchemaCollection($this);
    }
public function getSchemaCollection ( ) { if ( $ this -> _schemaCollection !== null ) { return $ this -> _schemaCollection ; } if ( ! empty ( $ this -> _config [ 'cacheMetadata' ] ) ) { return $ this -> _schemaCollection = new CachedCollection ( $ this , $ this -> _config [ 'cacheMetadata' ] ) ; } return $ this -> _schemaCollection = new SchemaCollection ( $ this ) ; }
Gets a Schema\Collection object for this connection.

@return \Cake\Database\Schema\Collection
Gets a Schema \ Collection object for this connection .