src/DB.php
final public static function register(Factory $factory) {
        if(!isset(self::$factories[$factory->driver]))
            self::$factories[$factory->driver] = $factory;
    }
final public static function register(Factory $factory) {
        if(!isset(self::$factories[$factory->driver]))
            self::$factories[$factory->driver] = $factory;
    }
final public static function register ( Factory $ factory ) { if ( ! isset ( self :: $ factories [ $ factory -> driver ] ) ) self :: $ factories [ $ factory -> driver ] = $ factory ; }
Registers a driver, based on its factory
@param Factory $factory
Registers a driver based on its factory