ReflectionClassConstant::hasType
(PHP 8 >= 8.3.0)
ReflectionClassConstant::hasType — Checks if class constant has a type
Description
Checks if the class constant has a type associated with it.
Parameters
This function has no parameters.
See Also
- ReflectionClassConstant::getType() - Gets a class constant's type
- ReflectionType
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
