class TagUnion extends AbstractTagParser (View source)

Methods

getName()

No description

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

No description

getStructByName(string $name)

No description

getStructByNameAndType(string $name, string $type)

No description

getMethodByName(string $name)

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.

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

No description

getParseTagAttributeMethod(string $tagName)

No description

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

No description

parseTagAttributeName()

Avoid the "name" 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.

parseUnion(TagUnion $union)

No description

parseWsdl(Wsdl $wsdl)

No description

parsingTag()

No description

findSuitableInheritance(array $values)

No description

getUnionMemberTypesFromChildren(TagUnion $union)

No description

Details

getName()

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

Parameters

AbstractTag $tag
string $type

protected getStructByName(string $name)

Parameters

string $name

protected getStructByNameAndType(string $name, string $type)

Parameters

string $name
string $type

protected getMethodByName(string $name)

Parameters

string $name

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

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

Parameters

AbstractTag $tag
AbstractModel $model
StructAttribute $structAttribute

protected getParseTagAttributeMethod(string $tagName)

Parameters

string $tagName

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

Parameters

AttributeHandler $tagAttribute
AbstractModel $model
StructAttribute $structAttribute

protected parseTagAttributeName()

Avoid the "name" 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

parseUnion(TagUnion $union)

Parameters

TagUnion $union

protected parseWsdl(Wsdl $wsdl)

Parameters

Wsdl $wsdl

protected parsingTag()

protected findSuitableInheritance(array $values)

Parameters

array $values

protected getUnionMemberTypesFromChildren(TagUnion $union)

Parameters

TagUnion $union