getNode() публичный Метод

public getNode ( ) : Node
Результат WSDL\Parser\Node
Пример #1
0
 /**
  * @inheritdoc
  */
 public function generateSoapHeaderIfNeeded(DOMDocument $DOMDocument, $targetNamespace, $soapHeaderMessage = '', Parameter $header = null, $soapVersion)
 {
     if ($header) {
         return XMLAttributeHelper::forDOM($DOMDocument)->createElementWithAttributes($soapVersion . ':header', array('use' => 'encoded', 'namespace' => $targetNamespace, 'encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/', 'part' => $header->getNode()->getSanitizedName(), 'message' => $soapHeaderMessage));
     }
     return null;
 }
Пример #2
0
 /**
  * @param string $methodName
  * @param string $headerSuffix
  * @param Parameter|null $parameter
  */
 private function messageHeaderIfNeeded($methodName, $headerSuffix, Parameter $parameter = null)
 {
     if ($parameter) {
         $messageHeaderElement = $this->messageParts($methodName . $headerSuffix, $parameter->getNode());
         $this->definitionsRootNode->appendChild($messageHeaderElement);
     }
 }