Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phan
Language
Element
TypedElementInterface
setUnionType
Phan\Language\Element\TypedElementInterface::setUnionType PHP Method
TypedElementInterface Interface Documentation
Show file
Open project: etsy/phan
setUnionType()
public
method
public
setUnionType
(
UnionType
$type
) :
void
$type
Phan\Language\UnionType
Set the type of this element
return
void
public function setUnionType(UnionType $type);
TypedElementInterface
getContext
getFileRef
getName
getUnionType
hasSuppressIssue
hydrate
isDeprecated
isInternal
setIsDeprecated
setSuppressIssueList
setUnionType