« ReflectionProperty::__toString
ReflectionType::allowsNull »
PHP Manual
Reflection
The ReflectionType class
The ReflectionType class
(PHP 7)
Introducción
The
ReflectionType
class reports information about a function's return type.
Sinopsis de la Clase
abstract
ReflectionType
{
/* Métodos */
public
allowsNull
( ) :
bool
public
__toString
( ) :
string
}
Historial de cambios
Versión
Descripción
8.0.0
ReflectionType
has become abstract and
ReflectionType::isBuiltin()
has been moved to
ReflectionNamedType::isBuiltin()
.
Tabla de contenidos
ReflectionType::allowsNull
— Checks if null is allowed
ReflectionType::__toString
— To string