protected function getDriverFromConfig(): ?string
    {
        $drivers = \array_keys($this->tenant->getConfig('drivers'));

        if (\count($drivers) === 1) {
            return $drivers[0];
        }

        return null;
    }
protected function getDriverFromConfig(): ?string
    {
        $drivers = \array_keys($this->tenant->getConfig('drivers'));

        if (\count($drivers) === 1) {
            return $drivers[0];
        }

        return null;
    }
protected function getDriverFromConfig ( ) : ? string { $ drivers = \ array_keys ( $ this -> tenant -> getConfig ( 'drivers' ) ) ; if ( \ count ( $ drivers ) === 1 ) { return $ drivers [ 0 ] ; } return null ; }
Get first driver in the config.

@return string
Get first driver in the config .