src/RocknRoot/StrayFw/Database/Database.php
public static function registerDatabase(string $alias)
    {
        if (isset(self::$databases[$alias]) === false) {
            self::$databases[$alias] = new static($alias);
        }
    }
public static function registerDatabase(string $alias)
    {
        if (isset(self::$databases[$alias]) === false) {
            self::$databases[$alias] = new static($alias);
        }
    }
public static function registerDatabase ( string $ alias ) { if ( isset ( self :: $ databases [ $ alias ] ) === false ) { self :: $ databases [ $ alias ] = new static ( $ alias ) ; } }
Register a new database.

@static
@param string $alias database alias
Register a new database .