Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Phan
Language
UnionType
typeCount
Phan\Language\UnionType::typeCount PHP Method
UnionType Class Documentation
Mostra file
Open project: etsy/phan
typeCount()
public
method
public
typeCount
( ) :
integer
return
integer
The number of types in this union type
public function typeCount() : int { return $this->type_set->count(); }
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