PHP Manual
Function Reference
Variable and Type Related Extensions
Reflection
Introduction
Examples
Extending
Reflection
ReflectionClass
ReflectionClassConstant
ReflectionEnum
ReflectionEnumUnitCase
ReflectionEnumBackedCase
ReflectionZendExtension
ReflectionExtension
ReflectionFunction
ReflectionFunctionAbstract
ReflectionMethod
ReflectionNamedType
ReflectionObject
ReflectionParameter
ReflectionProperty
ReflectionType
ReflectionUnionType
ReflectionGenerator
ReflectionFiber
ReflectionIntersectionType
ReflectionReference
ReflectionAttribute
Reflector
ReflectionException
ReflectionMethod::__toString
ReflectionNamedType::getName
Reflection
PHP Manual
The ReflectionNamedType class
Introduction
Class synopsis
ReflectionNamedType
extends
ReflectionType
/* Methods */
public
string
ReflectionNamedType::getName
()
public
bool
ReflectionNamedType::isBuiltin
()
/* Inherited methods */
public
bool
allowsNull
()
public
string
__toString
()
Table of Contents
ReflectionNamedType::getName
— Get the name of the type as a string
ReflectionNamedType::isBuiltin
— Checks if it is a built-in type