src/Soap/SoapClientDirector.php
public function build(SoapClientBuilderInterface $builder)
    {
        $builder->createWsdl($this->endpoint);
        $builder->createSoapClient();
        $builder->setLogin($this->login);
        $builder->setMode($this->mode);
        $builder->setClientVersion(self::CLIENT_VERSION);

        return $builder->getSoapClient();
    }
public function build(SoapClientBuilderInterface $builder)
    {
        $builder->createWsdl($this->endpoint);
        $builder->createSoapClient();
        $builder->setLogin($this->login);
        $builder->setMode($this->mode);
        $builder->setClientVersion(self::CLIENT_VERSION);

        return $builder->getSoapClient();
    }
Build the the SOAP client.

@param SoapClientBuilderInterface $builder

@return SoapClient