在线文档教程
PHP
反射 | Reflection

ReflectionClassConstant::getDocComment

ReflectionClassConstant::getDocComment

(PHP 7 >= 7.1.0)

ReflectionClassConstant::getDocComment — Gets doc comments

Description

public string ReflectionClassConstant::getDocComment ( void )

Gets doc comments from a class constant.

Parameters

This function has no parameters.

Return Values

The doc comment if it exists, otherwise FALSE

← ReflectionClassConstant::getDeclaringClass

ReflectionClassConstant::getModifiers →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/reflectionclassconstant.getdoccomment.php