src/RocknRoot/StrayFw/Database/Database.php
public static function get(string $alias)
    {
        if (isset(self::$databases[$alias]) === false) {
            throw new DatabaseNotFound('database "' . $alias . '" doesn\'t seem to be registered');
        }

        return self::$databases[$alias];
    }
public static function get(string $alias)
    {
        if (isset(self::$databases[$alias]) === false) {
            throw new DatabaseNotFound('database "' . $alias . '" doesn\'t seem to be registered');
        }

        return self::$databases[$alias];
    }
Get a database instance aliased as requested.

@static
@throws DatabaseNotFound if database isn't registered
@param  string           $alias requested database alias
@return Database         instance