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