public function build($name = null)
    {
        $tables = [$name];
        if (empty($name)) {
            $tables = $this->_schema->listTables();
        }

        foreach ($tables as $table) {
            $this->_schema->describe($table, ['forceRefresh' => true]);
        }

        return $tables;
    }
public function build($name = null)
    {
        $tables = [$name];
        if (empty($name)) {
            $tables = $this->_schema->listTables();
        }

        foreach ($tables as $table) {
            $this->_schema->describe($table, ['forceRefresh' => true]);
        }

        return $tables;
    }
public function build ( $ name = null ) { $ tables = [ $ name ] ; if ( empty ( $ name ) ) { $ tables = $ this -> _schema -> listTables ( ) ; } foreach ( $ tables as $ table ) { $ this -> _schema -> describe ( $ table , [ 'forceRefresh' => true ] ) ; } return $ tables ; }
Build metadata.

@param string|null $name The name of the table to build cache data for.
@return array Returns a list build table caches
Build metadata .