CakeFest 2024: The Official CakePHP Conference

ReflectionClassConstant::getDocComment

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getDocCommentクラス定数のドキュメントコメントを取得する

説明

public ReflectionClassConstant::getDocComment(): string|false

クラス定数のドキュメントコメントを取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

ドキュメントコメントが存在した場合その文字列。存在しない場合は false を返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top