public function get(string $name = null): Database
    {
        return new Database($this->connections->get($name));
    }
public function get(string $name = null): Database
    {
        return new Database($this->connections->get($name));
    }
public function get ( string $ name = null ) : Database { return new Database ( $ this -> connections -> get ( $ name ) ) ; }
returns the database

If a name is provided and a connection with this name exists this
connection will be used. If fallback is enabled and the named
connection does not exist the default connection will be used, if
fallback is disabled a DatabaseException will be thrown.

If no name is provided the default connection will be used.

@param   string  $name
@return  \stubbles\db\Database
returns the database