« ReflectionProperty::__toString
ReflectionType::allowsNull »
PHP Manual
Réflection
La classe ReflectionType
La classe ReflectionType
(PHP 7)
Introduction
La classe
ReflectionType
relate les informations à propos du type de retour d'une fonction.
Synopsis de la classe
ReflectionType
{
/* Méthodes */
public
allowsNull
(
void
) :
bool
public
isBuiltin
(
void
) :
bool
public
__toString
(
void
) :
string
}
Sommaire
ReflectionType::allowsNull
— Vérifie si null est permit
ReflectionType::isBuiltin
— Vérifie si c'est un type intégré
ReflectionType::__toString
— To string