src/Yggdrasil/Core/Driver/DriverCollection.php
public function remove(string $key): void
    {
        if (!$this->has($key)) {
            throw new DriverNotFoundException('Driver you are looking for doesn\'t exist. Make sure that ' . $key . ' driver is properly configured.');
        }

        unset($this->drivers[$key]);
    }
public function remove(string $key): void
    {
        if (!$this->has($key)) {
            throw new DriverNotFoundException('Driver you are looking for doesn\'t exist. Make sure that ' . $key . ' driver is properly configured.');
        }

        unset($this->drivers[$key]);
    }
public function remove ( string $ key ) : void { if ( ! $ this -> has ( $ key ) ) { throw new DriverNotFoundException ( 'Driver you are looking for doesn\'t exist. Make sure that ' . $ key . ' driver is properly configured.' ) ; } unset ( $ this -> drivers [ $ key ] ) ; }
Removes given driver from collection
Better way to do that is removing driver from AppConfiguration registry, but it was easy to implement

@param string $key Name of driver
@throws DriverNotFoundException if requested driver doesn't exist
Removes given driver from collection Better way to do that is removing driver from AppConfiguration registry but it was easy to implement