« ReflectionProperty::__toString
ReflectionType::allowsNull »
PHP Manual
Reflection
The ReflectionType class
The ReflectionType class
(PHP 7)
Introduction
The
ReflectionType
class reports information about a function's return type.
Class synopsis
ReflectionType
{
/* Methods */
public
allowsNull
(
void
) :
bool
public
isBuiltin
(
void
) :
bool
public
__toString
(
void
) :
string
}
Table of Contents
ReflectionType::allowsNull
— Checks if null is allowed
ReflectionType::isBuiltin
— Checks if it is a built-in type
ReflectionType::__toString
— To string