中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
ReflectionUnionType::getTypes »
« ReflectionType::__toString
PHP Manual
Function Reference
Variable and Type Related Extensions
Reflection
The ReflectionUnionType class
(PHP 8)
Introduction
Class synopsis
class
ReflectionUnionType
extends
ReflectionType
{
public
getTypes
():
array
public
ReflectionType::allowsNull
():
bool
public
ReflectionType::__toString
():
string
}
Table of Contents
ReflectionUnionType::getTypes
— Returns the types included in the union type