src/Phpforce/SoapClient/Client.php
protected function setSoapHeaders(array $headers)
    {
        $soapHeaderObjects = array();
        foreach ($headers as $key => $value) {
            $soapHeaderObjects[] = new \SoapHeader(self::SOAP_NAMESPACE, $key, $value);
        }

        $this->soapClient->__setSoapHeaders($soapHeaderObjects);
    }
protected function setSoapHeaders(array $headers)
    {
        $soapHeaderObjects = array();
        foreach ($headers as $key => $value) {
            $soapHeaderObjects[] = new \SoapHeader(self::SOAP_NAMESPACE, $key, $value);
        }

        $this->soapClient->__setSoapHeaders($soapHeaderObjects);
    }
protected function setSoapHeaders ( array $ headers ) { $ soapHeaderObjects = array ( ) ; foreach ( $ headers as $ key => $ value ) { $ soapHeaderObjects [ ] = new \ SoapHeader ( self :: SOAP_NAMESPACE , $ key , $ value ) ; } $ this -> soapClient -> __setSoapHeaders ( $ soapHeaderObjects ) ; }
Set soap headers

@param array $headers
Set soap headers