Reflection ReflectionReference 클래스
(PHP 7 >= 7.4.0, PHP 8)
소개
ReflectionReference 클래스는 참조에 대한 정보를 제공합니다.
클래스 개요
final class ReflectionReference {
/* Methods */
private __construct()
public static fromArrayElement(array $array, int|string $key): ?ReflectionReference
public getId(): string
}
목차
- ReflectionReference::__construct — 직접 인스턴스화를 허용하지 않는 Private 생성자
- ReflectionReference::fromArrayElement — 배열 요소에서 ReflectionReference 만들기
- ReflectionReference::getId — 참조의 고유 ID 가져오기