public function get(string $id): DatabaseConfiguration
    {
        if (isset($this->configurations[$id])) {
            return $this->configurations[$id];
        }

        throw new \OutOfBoundsException(
                'No database configuration known for database requested with id '
                . $id
        );
    }
public function get(string $id): DatabaseConfiguration
    {
        if (isset($this->configurations[$id])) {
            return $this->configurations[$id];
        }

        throw new \OutOfBoundsException(
                'No database configuration known for database requested with id '
                . $id
        );
    }
public function get ( string $ id ) : DatabaseConfiguration { if ( isset ( $ this -> configurations [ $ id ] ) ) { return $ this -> configurations [ $ id ] ; } throw new \ OutOfBoundsException ( 'No database configuration known for database requested with id ' . $ id ) ; }
returns database configuration for given id

@param   string  $id  id of configuration to return
@return  \stubbles\db\config\DatabaseConfiguration
@throws  \OutOfBoundsException  in case no config for given id exists
returns database configuration for given id