lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
public function createSchema()
    {
        $namespaces = [];

        if ($this->_platform->supportsSchemas()) {
            $namespaces = $this->listNamespaceNames();
        }

        $sequences = [];

        if ($this->_platform->supportsSequences()) {
            $sequences = $this->listSequences();
        }

        $tables = $this->listTables();

        return new Schema($tables, $sequences, $this->createSchemaConfig(), $namespaces);
    }
public function createSchema()
    {
        $namespaces = [];

        if ($this->_platform->supportsSchemas()) {
            $namespaces = $this->listNamespaceNames();
        }

        $sequences = [];

        if ($this->_platform->supportsSequences()) {
            $sequences = $this->listSequences();
        }

        $tables = $this->listTables();

        return new Schema($tables, $sequences, $this->createSchemaConfig(), $namespaces);
    }
public function createSchema ( ) { $ namespaces = [ ] ; if ( $ this -> _platform -> supportsSchemas ( ) ) { $ namespaces = $ this -> listNamespaceNames ( ) ; } $ sequences = [ ] ; if ( $ this -> _platform -> supportsSequences ( ) ) { $ sequences = $ this -> listSequences ( ) ; } $ tables = $ this -> listTables ( ) ; return new Schema ( $ tables , $ sequences , $ this -> createSchemaConfig ( ) , $ namespaces ) ; }
Creates a schema instance for the current database.

@return Schema
Creates a schema instance for the current database .