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

add a note add a note

User Contributed Notes 2 notes

up
10
1franck
2 months ago
For those who stumble on notice about ReflectionType::__toString() beeing deprecated, use method ReflectionType::getName() instead which is not yet documented.
up
-1
roland at mxchange dot org
29 days ago
I guess it is <?php ReflectionNamedType::getName(); ?> ?
To Top