« ReflectionMethod::__toString
ReflectionNamedType::getName »
PHP Manual
Reflection
The ReflectionNamedType class
The ReflectionNamedType class
(PHP 7 >= 7.1.0, PHP 8)
Introduction
Class synopsis
class
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 name of the type as a string
ReflectionNamedType::isBuiltin
— Checks if it is a built-in type