class TagOutput extends AbstractTagInputOutputParser (View source)

Constants

UNKNOWN

Properties

protected Generator $generator from AbstractParser
protected AbstractTag[] $tags from AbstractParser
protected array $parsedWsdls List of Wsdl parsed for the current tag from AbstractParser
protected array $parsedSchemas List of Schema parsed for the current tag from AbstractParser

Methods

__construct(Generator $generator)

No description

getGenerator()

No description

string
getName()

No description

void
parse()

The method takes care of looping among WSDLS as much time as it is needed

parseWsdl(Wsdl $wsdl)

No description

parseSchema(Wsdl $wsdl, Schema $schema)

Most of he time, this method is not used, even if it used, for now, knowing that we are in a schema is not a useful information, so we can simply parse the tag with only the wsdl as parameter

string
parsingTag()

No description

setTags(array $tags)

No description

getTags()

No description

setWsdlAsParsed(Wsdl $wsdl)

No description

boolean
isWsdlParsed(Wsdl $wsdl)

No description

setSchemaAsParsed(Wsdl $wsdl, Schema $schema)

No description

boolean
isSchemaParsed(Wsdl $wsdl, Schema $schema)

No description

getModel(AbstractTag $tag, string $type = '')

Return the model on which the method will be called

null|Struct
getStructByName(string $name)

No description

null|Struct
getStructByNameAndType(string $name, string $type)

No description

null|Method
getMethodByName(string $name)

No description

parseTagAttributes(AbstractTag $tag, AbstractModel $model = null, StructAttribute $structAttribute = null)

No description

array|null
getParseTagAttributeMethod(string $tagName)

No description

parseTagAttributeType(AttributeHandler $tagAttribute, AbstractModel $model, StructAttribute $structAttribute = null)

No description

parseTagAttributeName()

Avoid this attribute to be added as meta

parseTagAttributeAbstract(AttributeHandler $tagAttribute, AbstractModel $model)

No description

parseTagAttributeValue(AttributeHandler $tagAttribute, AbstractModel $model)

Enumeration does not need its own value as meta information, it's like the name for struct attribute

string|array
getKnownType(Method $method)

No description

setKnownType(Method $method, string|array $knownType)

No description

string
getTypeFromPart(TagPart $part)

No description

boolean
isKnownTypeUnknown(Method $method)

No description

Details

__construct(Generator $generator)

Parameters

Generator $generator

protected AbstractGeneratorAware setGenerator(Generator $generator)

Parameters

Generator $generator

Return Value

AbstractGeneratorAware

Generator getGenerator()

Return Value

Generator

string getName()

Return Value

string

See also

\WsdlToPhp\PackageGenerator\Parser\AbstractParser::getName()

final void parse()

The method takes care of looping among WSDLS as much time as it is needed

Return Value

void

See also

\WsdlToPhp\PackageGenerator\Generator\ParserInterface::parse()

protected parseWsdl(Wsdl $wsdl)

Parameters

Wsdl $wsdl

See also

\WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractParser::parseWsdl()

protected parseSchema(Wsdl $wsdl, Schema $schema)

Most of he time, this method is not used, even if it used, for now, knowing that we are in a schema is not a useful information, so we can simply parse the tag with only the wsdl as parameter

Parameters

Wsdl $wsdl
Schema $schema

See also

\WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractParser::parseSchema()

protected string parsingTag()

Return Value

string

See also

\WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractParser::parsingTag()

protected AbstractParser setTags(array $tags)

Parameters

array $tags

Return Value

AbstractParser

AbstractTag[] getTags()

Return Value

AbstractTag[]

protected AbstractParser setWsdlAsParsed(Wsdl $wsdl)

Parameters

Wsdl $wsdl

Return Value

AbstractParser

boolean isWsdlParsed(Wsdl $wsdl)

Parameters

Wsdl $wsdl

Return Value

boolean

protected AbstractParser setSchemaAsParsed(Wsdl $wsdl, Schema $schema)

Parameters

Wsdl $wsdl
Schema $schema

Return Value

AbstractParser

boolean isSchemaParsed(Wsdl $wsdl, Schema $schema)

Parameters

Wsdl $wsdl
Schema $schema

Return Value

boolean

protected Struct|Method getModel(AbstractTag $tag, string $type = '')

Return the model on which the method will be called

Parameters

AbstractTag $tag
string $type can be passed to specify the Struct type (inheritance)

Return Value

Struct|Method

protected null|Struct getStructByName(string $name)

Parameters

string $name

Return Value

null|Struct

protected null|Struct getStructByNameAndType(string $name, string $type)

Parameters

string $name
string $type

Return Value

null|Struct

protected null|Method getMethodByName(string $name)

Parameters

string $name

Return Value

null|Method

protected parseTagAttributes(AbstractTag $tag, AbstractModel $model = null, StructAttribute $structAttribute = null)

Parameters

AbstractTag $tag
AbstractModel $model
StructAttribute $structAttribute

protected array|null getParseTagAttributeMethod(string $tagName)

Parameters

string $tagName

Return Value

array|null

protected parseTagAttributeType(AttributeHandler $tagAttribute, AbstractModel $model, StructAttribute $structAttribute = null)

Parameters

AttributeHandler $tagAttribute
AbstractModel $model
StructAttribute $structAttribute

protected parseTagAttributeName()

Avoid this attribute to be added as meta

protected parseTagAttributeAbstract(AttributeHandler $tagAttribute, AbstractModel $model)

Parameters

AttributeHandler $tagAttribute
AbstractModel $model

protected parseTagAttributeValue(AttributeHandler $tagAttribute, AbstractModel $model)

Enumeration does not need its own value as meta information, it's like the name for struct attribute

Parameters

AttributeHandler $tagAttribute
AbstractModel $model

protected string|array getKnownType(Method $method)

Parameters

Method $method

Return Value

string|array

See also

\WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractTagOutputOutputParser::getKnownType()

protected setKnownType(Method $method, string|array $knownType)

Parameters

Method $method
string|array $knownType

See also

\WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractTagOutputOutputParser::setKnownType()

protected string getTypeFromPart(TagPart $part)

Parameters

TagPart $part

Return Value

string

protected boolean isKnownTypeUnknown(Method $method)

Parameters

Method $method

Return Value

boolean