src/Configuration/Connections/MasterSlaveConnection.php
public function getSlavesConfig(array $slaves, $driver)
    {
        $handledSlaves = [];
        foreach ($slaves as $slave) {
            $handledSlaves[] = $this->getConnectionData($slave, $driver);
        }

        return $handledSlaves;
    }
public function getSlavesConfig(array $slaves, $driver)
    {
        $handledSlaves = [];
        foreach ($slaves as $slave) {
            $handledSlaves[] = $this->getConnectionData($slave, $driver);
        }

        return $handledSlaves;
    }
public function getSlavesConfig ( array $ slaves , $ driver ) { $ handledSlaves = [ ] ; foreach ( $ slaves as $ slave ) { $ handledSlaves [ ] = $ this -> getConnectionData ( $ slave , $ driver ) ; } return $ handledSlaves ; }
Returns config for slave connections.

@param array  $slaves
@param string $driver

@return array
Returns config for slave connections .