php / 8.1.5 / class.reflectionuniontype.html /

The ReflectionUnionType class

Introduction

(PHP 8)

Class synopsis

class ReflectionUnionType extends ReflectionType {
/* Methods */
public getTypes(): array
/* Inherited methods */
public ReflectionType::allowsNull(): bool
public ReflectionType::__toString(): string
}

Table of Contents

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.reflectionuniontype.php