src/Config/DatabaseConfig.php
public function getDrivers(): array
    {
        $result = [];
        foreach (array_keys($this->config['connections'] ?? $this->config['drivers'] ?? []) as $driver) {
            $result[$driver] = $this->getDriver($driver);
        }

        return $result;
    }
public function getDrivers(): array
    {
        $result = [];
        foreach (array_keys($this->config['connections'] ?? $this->config['drivers'] ?? []) as $driver) {
            $result[$driver] = $this->getDriver($driver);
        }

        return $result;
    }
public function getDrivers ( ) : array { $ result = [ ] ; foreach ( array_keys ( $ this -> config [ 'connections' ] ?? $ this -> config [ 'drivers' ] ?? [ ] ) as $ driver ) { $ result [ $ driver ] = $ this -> getDriver ( $ driver ) ; } return $ result ; }
Get names list of all driver connections.

@return Autowire[]
Get names list of all driver connections .