src/Server/AmazonServer.php
public function withClient(ClientInterface $client): AmazonServer
    {
        $server = clone $this;
        $server->client = $client;

        return $this;
    }
public function withClient(ClientInterface $client): AmazonServer
    {
        $server = clone $this;
        $server->client = $client;

        return $this;
    }
public function withClient ( ClientInterface $ client ) : AmazonServer { $ server = clone $ this ; $ server -> client = $ client ; return $ this ; }
Version of driver with alternative client being set up.

@param ClientInterface $client
@return self
Version of driver with alternative client being set up .