PHP Class WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractTagImportParser

Inheritance: extends AbstractTagParser
Show file Open project: wsdltophp/packagegenerator

Protected Methods

Method Description
getLocation ( Wsdl $wsdl, Schema $schema = null ) : string
parseSchema ( Wsdl $wsdl, Schema $schema ) The goal of this method is to ensure that each schema is parsed by both TagInclude and TagImport in case of one of the two does not find tags that matches its tag name.
parseWsdl ( Wsdl $wsdl, Schema $schema = null )

Private Methods

Method Description
getTagParser ( ) : AbstractTagImportParser

Method Details

getLocation() protected method

protected getLocation ( Wsdl $wsdl, Schema $schema = null ) : string
$wsdl WsdlToPhp\PackageGenerator\Model\Wsdl
$schema WsdlToPhp\PackageGenerator\Model\Schema
return string

parseSchema() protected method

As the GeneratorParsers loads the include/import tags parses in a certain order, it can occur that import tags might be found after the import tag parser has been launched and vice versa.
See also: WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractParser::parseSchema()
protected parseSchema ( Wsdl $wsdl, Schema $schema )
$wsdl WsdlToPhp\PackageGenerator\Model\Wsdl
$schema WsdlToPhp\PackageGenerator\Model\Schema

parseWsdl() protected method

See also: WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractParser::parseWsdl()
protected parseWsdl ( Wsdl $wsdl, Schema $schema = null )
$wsdl WsdlToPhp\PackageGenerator\Model\Wsdl
$schema WsdlToPhp\PackageGenerator\Model\Schema