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

        return $handledSlaves;
    }