class TagUnion extends Tag (View source)

Constants

MAX_DEEP

ATTRIBUTE_MEMBER_TYPES

Methods

null|AbstractNodeHandler|AbstractElementHandler|AbstractAttributeHandler|AbstractTag
getSuitableParent(bool $checkName = true, array $additionalTags = [], int $maxDeep = self::MAX_DEEP, bool $strict = false)

This method aims to get the parent element that matches a valid Wsdl element (aka struct)

string[]
getSuitableParentTags(array $additionalTags = [])

Suitable tags as parent

getStrictParent(string $name, bool $checkName = false)

No description

bool
hasAttributeName()

No description

bool
hasAttributeRef()

No description

string
getAttributeName()

No description

string
getAttributeRef()

No description

boolean
hasAttributeValue()

No description

mixed
getValueAttributeValue(bool $withNamespace = false, bool $withinItsType = true, string $asType = null)

No description

getDomDocumentHandler()

No description

getChildrenByName(string $name)

No description

string[]
getAttributeMemberTypes()

No description

bool
hasMemberTypesAsChildren()

No description

getMemberTypesChildren()

No description

string[]
parseMemberTypes()

No description

Details

null|AbstractNodeHandler|AbstractElementHandler|AbstractAttributeHandler|AbstractTag getSuitableParent(bool $checkName = true, array $additionalTags = [], int $maxDeep = self::MAX_DEEP, bool $strict = false)

This method aims to get the parent element that matches a valid Wsdl element (aka struct)

Parameters

bool $checkName whether to validate the attribute named "name" or not
array $additionalTags
int $maxDeep
bool $strict used by overridden methods to avoid infinite loop

Return Value

null|AbstractNodeHandler|AbstractElementHandler|AbstractAttributeHandler|AbstractTag

protected string[] getSuitableParentTags(array $additionalTags = [])

Suitable tags as parent

Parameters

array $additionalTags

Return Value

string[]

protected AbstractTag|null getStrictParent(string $name, bool $checkName = false)

Parameters

string $name
bool $checkName

Return Value

AbstractTag|null

bool hasAttributeName()

Return Value

bool

bool hasAttributeRef()

Return Value

bool

string getAttributeName()

Return Value

string

string getAttributeRef()

Return Value

string

boolean hasAttributeValue()

Return Value

boolean

mixed getValueAttributeValue(bool $withNamespace = false, bool $withinItsType = true, string $asType = null)

Parameters

bool $withNamespace
bool $withinItsType
string $asType

Return Value

mixed

Wsdl|Schema getDomDocumentHandler()

Return Value

Wsdl|Schema

AbstractTag[] getChildrenByName(string $name)

Parameters

string $name

Return Value

AbstractTag[]

See also

\WsdlToPhp\DomHandler\AbstractElementHandler::getChildrenByName()

string[] getAttributeMemberTypes()

Return Value

string[]

bool hasMemberTypesAsChildren()

Return Value

bool

AbstractTag[] getMemberTypesChildren()

Return Value

AbstractTag[]

protected string[] parseMemberTypes()

Return Value

string[]