Пример #1
0
 /**
  *
  * @return \oetas\XML\WSDLReader\Wsdl\Definitions
  */
 public function readNode(\DOMElement $node, $file = 'wsdl.xsd')
 {
     $this->loadedFiles[$file] = $rootDefinitions = new Definitions();
     $schema = new Schema();
     $schema->addSchema($this->reader->getGlobalSchema());
     $rootDefinitions->setSchema($schema);
     $callbacks = $this->rootNode($rootDefinitions, $node);
     foreach ($callbacks as $callback) {
         call_user_func($callback);
     }
     return $rootDefinitions;
 }