« ReflectionMethod::__toString
ReflectionNamedType::getName »
PHP Manual
Reflection
The ReflectionNamedType class
The ReflectionNamedType class
(PHP 7 >= 7.1.0)
Introduction
Class synopsis
ReflectionNamedType
extends
ReflectionType
{
/* Methods */
public
getName
( ) :
string
public
isBuiltin
( ) :
bool
/* Inherited methods */
public
ReflectionType::allowsNull
( ) :
bool
public
ReflectionType::__toString
( ) :
string
}
Table of Contents
ReflectionNamedType::getName
— Get the text of the type hint
ReflectionNamedType::isBuiltin
— Checks if it is a built-in type