ReflectionMethod::isConstructor
(PHP 5, PHP 7, PHP 8)
ReflectionMethod::isConstructor — 判断方法是否是构造方法
参数
此函数没有参数。
参见
- ReflectionMethod::__construct() - 构造 ReflectionMethod
- ReflectionMethod::isAbstract() - 判断方法是否是抽象方法
- ReflectionMethod::isDestructor() - 判断方法是否是析构方法
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
