« ReflectionIntersectionType::getTypes
ReflectionReference::__construct »
PHP Manual
反射
ReflectionReference 类
ReflectionReference 类
(PHP 7 >= 7.4.0, PHP 8)
简介
ReflectionReference
类用于获取引用的信息。
类摘要
final
class
ReflectionReference
{
/* 方法 */
public
static
fromArrayElement
(
array
$array
,
int
|
string
$key
):
?
ReflectionReference
public
getId
():
string
}
目录
ReflectionReference::__construct
— Private constructor to disallow direct instantiation
ReflectionReference::fromArrayElement
— 从数组元素创建一个 ReflectionReference
ReflectionReference::getId
— 获取引用的唯一 ID