CornerShot
« ReflectionType::__toString
ReflectionUnionType::getTypes »
PHP Manual
Reflection
The ReflectionUnionType class
The ReflectionUnionType class
(PHP 8)
Introduction
Class synopsis
class
ReflectionUnionType
extends
ReflectionType
{
/* Methods */
public
getTypes
():
array
/* Inherited methods */
public
ReflectionType::allowsNull
():
bool
public
ReflectionType::__toString
():
string
}
Table of Contents
ReflectionUnionType::getTypes
— Returns the types included in the union type