src/Drivers/DriverManager.php
public static function unloadDriver($driver)
    {
        foreach (array_keys(self::$drivers, $driver) as $key) {
            unset(self::$drivers[$key]);
        }
    }
public static function unloadDriver($driver)
    {
        foreach (array_keys(self::$drivers, $driver) as $key) {
            unset(self::$drivers[$key]);
        }
    }
public static function unloadDriver ( $ driver ) { foreach ( array_keys ( self :: $ drivers , $ driver ) as $ key ) { unset ( self :: $ drivers [ $ key ] ) ; } }
Remove a driver from the list of loadable drivers.

@param string $driver Driver class name
Remove a driver from the list of loadable drivers .