Exemplo n.º 1
0
 protected function appendVersion(VersionInterface $version)
 {
     $binding = $version->getBindingNode();
     $binding = $this->document->importNode($binding, true);
     $this->domDefinitions->appendChild($binding);
     $servicePort = $version->getServicePortNode();
     $servicePort = $this->document->importNode($servicePort, true);
     $this->domService->appendChild($servicePort);
 }
Exemplo n.º 2
0
 protected function appendService(VersionInterface $version)
 {
     if (!$this->domService) {
         $this->addService();
     }
     $servicePort = $version->getServicePortNode();
     $servicePort = $this->document->importNode($servicePort, true);
     $this->domService->appendChild($servicePort);
 }