src/Gateway/CascadeGateway.php
private function setGateways(array $gateways)
    {
        $this->gateways = [];
        foreach ($gateways as $name => $gateway) {
            $this->addGateway($name, $gateway);
        }
    }
private function setGateways(array $gateways)
    {
        $this->gateways = [];
        foreach ($gateways as $name => $gateway) {
            $this->addGateway($name, $gateway);
        }
    }
@param array $gateways

@return void