src/Parser/Wsdl/AbstractParser.php
final public function parse()
    {
        $wsdl = $this->generator->getWsdl();
        if ($wsdl instanceof Wsdl) {
            $content = $wsdl->getContent();
            if ($content instanceof WsdlDocument) {
                if ($this->isWsdlParsed($wsdl) === false) {
                    $this->setWsdlAsParsed($wsdl)->setTags($content->getElementsByName($this->parsingTag()))->parseWsdl($wsdl);
                }
                foreach ($content->getExternalSchemas() as $schema) {
                    if ($this->isSchemaParsed($wsdl, $schema) === false) {
                        $this->setSchemaAsParsed($wsdl, $schema);
                        $schemaContent = $schema->getContent();
                        if ($schemaContent instanceof SchemaDocument) {
                            $this->setTags($schemaContent->getElementsByName($this->parsingTag()))->parseSchema($wsdl, $schema);
                        }
                    }
                }
            }
        }
    }
final public function parse()
    {
        $wsdl = $this->generator->getWsdl();
        if ($wsdl instanceof Wsdl) {
            $content = $wsdl->getContent();
            if ($content instanceof WsdlDocument) {
                if ($this->isWsdlParsed($wsdl) === false) {
                    $this->setWsdlAsParsed($wsdl)->setTags($content->getElementsByName($this->parsingTag()))->parseWsdl($wsdl);
                }
                foreach ($content->getExternalSchemas() as $schema) {
                    if ($this->isSchemaParsed($wsdl, $schema) === false) {
                        $this->setSchemaAsParsed($wsdl, $schema);
                        $schemaContent = $schema->getContent();
                        if ($schemaContent instanceof SchemaDocument) {
                            $this->setTags($schemaContent->getElementsByName($this->parsingTag()))->parseSchema($wsdl, $schema);
                        }
                    }
                }
            }
        }
    }
final public function parse ( ) { $ wsdl = $ this -> generator -> getWsdl ( ) ; if ( $ wsdl instanceof Wsdl ) { $ content = $ wsdl -> getContent ( ) ; if ( $ content instanceof WsdlDocument ) { if ( $ this -> isWsdlParsed ( $ wsdl ) === false ) { $ this -> setWsdlAsParsed ( $ wsdl ) -> setTags ( $ content -> getElementsByName ( $ this -> parsingTag ( ) ) ) -> parseWsdl ( $ wsdl ) ; } foreach ( $ content -> getExternalSchemas ( ) as $ schema ) { if ( $ this -> isSchemaParsed ( $ wsdl , $ schema ) === false ) { $ this -> setSchemaAsParsed ( $ wsdl , $ schema ) ; $ schemaContent = $ schema -> getContent ( ) ; if ( $ schemaContent instanceof SchemaDocument ) { $ this -> setTags ( $ schemaContent -> getElementsByName ( $ this -> parsingTag ( ) ) ) -> parseSchema ( $ wsdl , $ schema ) ; } } } } } }
The method takes care of looping among WSDLS as much time as it is needed
@see \WsdlToPhp\PackageGenerator\Generator\ParserInterface::parse()
The method takes care of looping among WSDLS as much time as it is needed