lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
public function listDatabases()
    {
        $sql = $this->_platform->getListDatabasesSQL();

        $databases = $this->_conn->fetchAll($sql);

        return $this->_getPortableDatabasesList($databases);
    }
public function listDatabases()
    {
        $sql = $this->_platform->getListDatabasesSQL();

        $databases = $this->_conn->fetchAll($sql);

        return $this->_getPortableDatabasesList($databases);
    }
public function listDatabases ( ) { $ sql = $ this -> _platform -> getListDatabasesSQL ( ) ; $ databases = $ this -> _conn -> fetchAll ( $ sql ) ; return $ this -> _getPortableDatabasesList ( $ databases ) ; }
Lists the available databases for this connection.

@return string[]
Lists the available databases for this connection .