Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
Reflection
Examples
Extending
Reflection
ReflectionClass
ReflectionClassConstant
ReflectionConstant
ReflectionEnum
ReflectionEnumUnitCase
ReflectionEnumBackedCase
ReflectionZendExtension
ReflectionExtension
ReflectionFunction
ReflectionFunctionAbstract
ReflectionMethod
ReflectionNamedType
ReflectionObject
ReflectionParameter
ReflectionProperty
ReflectionType
ReflectionUnionType
ReflectionGenerator
ReflectionFiber
ReflectionIntersectionType
ReflectionReference
ReflectionAttribute
Reflector
ReflectionException
PropertyHookType
ReflectionMethod::__toString
ReflectionNamedType::getName
Reflection
Last updated: Mon, 26 Oct 2026
The ReflectionNamedType class
(PHP 7 >= 7.1.0, PHP 8)
Introduction
Class synopsis
class
ReflectionNamedType
extends
ReflectionType
{
/* Methods */
public
function
getName
():
string
public
function
isBuiltin
():
bool
/* Inherited methods */
public
function
ReflectionType::allowsNull
():
bool
public
function
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
ReflectionMethod::__toString
ReflectionNamedType::getName
Reflection
Last updated: Mon, 26 Oct 2026