ReflectionConstant::__construct
(PHP 8 >= 8.4.0)
ReflectionConstant::__construct — Constructs a ReflectionConstant
Description
Constructs a new ReflectionConstant object.
Parameters
name
The name of the constant.
Errors/Exceptions
Throws a ReflectionException in case the given constant does not exist.
See Also
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
