CakeFest 2024: The Official CakePHP Conference

ReflectionClass::getReflectionConstant

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClass::getReflectionConstantПолучает ReflectionClassConstant для константы класса

Описание

public ReflectionClass::getReflectionConstant(string $name): ReflectionClassConstant|false

Получает ReflectionClassConstant для свойства константы.

Список параметров

name

Имя константы класса.

Возвращаемые значения

Объект ReflectionClassConstant или false, если возникла ошибка.

Смотрите также

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top