Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Phan
Language
UnionType
__construct
Phan\Language\UnionType::__construct PHP Method
UnionType Class Documentation
Exibir arquivo
Open project: etsy/phan
__construct()
public
method
public
__construct
(
Type[] |
Iterator
$type_list
= null )
$type_list
Type[] |
Iterator
An optional list of types represented by this union
public function __construct($type_list = null) { $this->type_set = new Set($type_list); }
Same methods
UnionType::
__construct
(
Type[] |
Iterator
$type_list
= null )
UnionType
__clone
__construct
__toString
addType
addUnionType
asClassList
asExpandedTypes
asGenericArrayTypes
canCastToExpandedUnionType
canCastToUnionType
fromFullyQualifiedString
fromNode
fromStringInContext
genericArrayElementTypes
getTemplateParameterTypeList
getTemplateParameterTypeMap
getTypeSet
hasAnyType
hasArrayLike
hasGenericArray
hasGenericType
hasSelfType
hasStaticType
hasTemplateType
hasType
internalFunctionSignatureMap
internalFunctionSignatureMapForFQSEN
internalPropertyMap
internalPropertyMapForClassName
isEmpty
isEqualTo
isGenericArray
isNativeType
isScalar
isType
nonArrayTypes
nonGenericArrayTypes
nonNativeTypes
removeType
serialize
typeCount
unserialize
withStaticResolvedInContext
withTemplateParameterTypeMap