ReflectionClassConstant::getType
Gets a class constant's type
説明
public ReflectionTypenull ReflectionClassConstant::getType()
Gets the associated type of a class constant.
戻り値
Returns a ReflectionType object if a parameter type is
specified, null
otherwise.
参考
- ReflectionClassConstant::hasType
- ReflectionType