The ReflectionType class

(PHP 7)

Introduction

The ReflectionType class reports information about a function's return type.

Class synopsis

abstract ReflectionType {
/* Methods */
public allowsNull ( ) : bool
public __toString ( ) : string
}

Changelog

Version Description
8.0.0 ReflectionType has become abstract and ReflectionType::isBuiltin() has been moved to ReflectionNamedType::isBuiltin().

Table of Contents