? ReflectionProperty::__toString
ReflectionType::allowsNull ?
PHP Manual
反射
The ReflectionType class
The ReflectionType class
(PHP 7)
简介
ReflectionType
类用于获取函数、类方法的参数或者返回值的类型。
类摘要
ReflectionType
{
/* 方法 */
public
allowsNull
(
void
) :
bool
public
isBuiltin
(
void
) :
bool
public
__toString
(
void
) :
string
}
Table of Contents
ReflectionType::allowsNull
— Checks if null is allowed
ReflectionType::isBuiltin
— Checks if it is a built-in type
ReflectionType::__toString
— To string
User Contributed Notes
There are no user contributed notes for this page.