Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Phan
Language
Type
asUnionType
Phan\Language\Type::asUnionType PHP Method
Type Class Documentation
Datei anzeigen
Open project: etsy/phan
asUnionType()
public
method
public
asUnionType
( ) :
UnionType
return
UnionType
A UnionType representing this and only this type
public function asUnionType() : UnionType { return new UnionType([$this]); }
Same methods
Type::
asUnionType
( ) :
UnionType
Type
__construct
__toString
asExpandedTypes
asFQSEN
asFQSENString
asGenericArrayType
asUnionType
canCastToType
canonicalNameFromName
fromFullyQualifiedString
fromInternalTypeName
fromNamespaceAndName
fromObject
fromStringInContext
fromType
genericArrayElementType
getName
getNamespace
getTemplateParameterTypeList
getTemplateParameterTypeMap
hasNamespace
hasTemplateParameterTypes
isArrayLike
isGenericArray
isGenericArrayString
isNativeType
isNativeTypeString
isScalar
isSelfType
isSelfTypeString
isStaticType
isSubclassOf
make
typeStringComponents