The ReflectionIntersectionType class
From Get docs
Php/docs/latest/class.reflectionintersectiontype
The ReflectionIntersectionType class
Introduction
(PHP 8 >= 8.1.0)
Class synopsis
class ReflectionIntersectionType extends ReflectionType {
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
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.reflectionintersectiontype.php
/* Methods */