Results of 1 - 10 of about 20 for getDocComment (0.001 sec.)
- ReflectionProperty::getDocComment — プロパティのドキュメントコメントを取得する ... 12847
- ReflectionProperty::getDocComment (PHP 5 >= 5.1.0, PHP 7, PHP 8) ReflectionProperty::getDocComment — プロパティのドキュメントコメントを取得する 説明 public function ReflectionProperty::getDocComment (): string | false プロパティのドキュメン
... ィのドキュメントコメントを返します。 ドキュメントコメントが存在しない場合は、 false を返します。 例 例1 ReflectionProperty::getDocComment() の例 <?php class Str { /** * @var int The length of the string */ public $length = 5 ; } $prop = new ReflectionProperty ... ( 'Str' , 'length' ); var_dump ( $prop -> getDocComment ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(53) "/** * @var int The length of the string */" 例2 複数の ... ' ); foreach ( $class -> getProperties () as $property ) { echo $property -> getName () . ': ' . var_export ( $property -> getDocComment (), true ) . PHP_EOL ; } ?> 上の例の出力は以下となります。 a: '/** @var string */' b: false 参考 ReflectionProperty::getMo ...
-
https://man.mtool.work/php/8.3/reflectionproperty.getdoccomment.html
- ReflectionClass::getDocComment — ドキュメントコメントを取得する | PHP 8.3 12439
- ReflectionClass::getDocComment (PHP 5, PHP 7, PHP 8) ReflectionClass::getDocComment — ドキュメントコメントを取得する 説明 public function ReflectionClass::getDocComment (): string | false クラスのドキュメントコメントを取得します。 ドキュメン
... りません。 戻り値 ドキュメントコメントが存在すればそれを返します。存在しなければ false を返します。 例 例1 ReflectionClass::getDocComment() の例 <?php /** * A test class * * @param foo bar * @return baz */ class TestClass { } $rc = new ReflectionClass ( 'TestC ... lass' ); var_dump ( $rc -> getDocComment ()); ?> 上の例の出力は以下となります。 string(60) "/** * A test class * * @param foo bar * @return baz */" 参考 Reflection ...
-
https://man.mtool.work/php/8.3/reflectionclass.getdoccomment.html
- ReflectionClassConstant::getDocComment — クラス定数のドキュメントコメントを取得... 10909
- ReflectionClassConstant::getDocComment (PHP 7 >= 7.1.0, PHP 8) ReflectionClassConstant::getDocComment — クラス定数のドキュメントコメントを取得する 説明 public function ReflectionClassConstant::getDocComment (): string | false クラス定数のド
...
-
https://man.mtool.work/php/8.3/reflectionclassconstant.getdoccomment.html
- ReflectionFunctionAbstract::getDocComment — ドキュメントコメントを取得する | PH... 10808
- ReflectionFunctionAbstract::getDocComment (PHP 5 >= 5.1.0, PHP 7, PHP 8) ReflectionFunctionAbstract::getDocComment — ドキュメントコメントを取得する 説明 public function ReflectionFunctionAbstract::getDocComment (): string | false 関数のドキ
...
-
https://man.mtool.work/php/8.3/reflectionfunctionabstract.getdoccomment.html
- ReflectionClassConstant クラス | PHP 8.3 8156
- ReflectionClassConstant クラス (PHP 7 >= 7.1.0, PHP 8) はじめに ReflectionClassConstant クラスは、クラス定数に関する情報を報告します。 クラス概要 class ReflectionClassConstant implements Reflector { /* 定数 */ public const int IS_PUBLIC ; p
... es ( ? string $name = null , int $flags = 0 ): array public function getDeclaringClass (): ReflectionClass public function getDocComment (): string | false public function getModifiers (): int public function getName (): string public function getType (): ? R ... ビュートを取得する ReflectionClassConstant::getDeclaringClass — 定数を宣言しているクラスを取得する ReflectionClassConstant::getDocComment — クラス定数のドキュメントコメントを取得する ReflectionClassConstant::getModifiers — クラス定数の修飾子を取得する Reflecti ...
-
https://man.mtool.work/php/8.3/class.reflectionclassconstant.html
- ReflectionFunctionAbstract クラス | PHP 8.3 8156
- ReflectionFunctionAbstract クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8) はじめに ReflectionFunction の親クラスです。 詳細はこのクラスの説明を参照ください。 クラス概要 abstract class ReflectionFunctionAbstract implements Reflector { /* プロパティ *
... lectionClass public function getClosureThis (): ? object public function getClosureUsedVariables (): array public function getDocComment (): string | false public function getEndLine (): int | false public function getExtension (): ? ReflectionExtension publi ... flectionFunctionAbstract::getClosureUsedVariables — クロージャ内で使われている変数の配列を返す ReflectionFunctionAbstract::getDocComment — ドキュメントコメントを取得する ReflectionFunctionAbstract::getEndLine — 終了行番号を取得する ReflectionFunctionAbstract: ...
-
https://man.mtool.work/php/8.3/class.reflectionfunctionabstract.html
- ReflectionFunctionAbstract::isDeprecated — 非推奨であるかどうかを調べる | PHP 8... 8055
- ReflectionFunctionAbstract::isDeprecated (PHP 5 >= 5.2.0, PHP 7, PHP 8) ReflectionFunctionAbstract::isDeprecated — 非推奨であるかどうかを調べる 説明 public function ReflectionFunctionAbstract::isDeprecated (): bool この関数が非推奨であるかど
... r_dump ( $rf -> isDeprecated ()); ?> 上の例の出力は以下となります。 bool(true) 参考 Deprecated ReflectionFunctionAbstract::getDocComment() - ドキュメントコメントを取得する ...
-
https://man.mtool.work/php/8.3/reflectionfunctionabstract.isdeprecated.html
- ReflectionClassConstant::isDeprecated — クラス定数が非推奨かどうかを調べる | PH... 7953
- ReflectionClassConstant::isDeprecated (PHP 8 >= 8.4.0) ReflectionClassConstant::isDeprecated — クラス定数が非推奨かどうかを調べる 説明 public function ReflectionClassConstant::isDeprecated (): bool クラス定数が非推奨かどうかを調べます。 パラ
... $classConstant -> isDeprecated ()); ?> 上の例の出力は以下となります。 bool(true) 参考 Deprecated ReflectionClassConstant::getDocComment() - クラス定数のドキュメントコメントを取得する ...
-
https://man.mtool.work/php/8.3/reflectionclassconstant.isdeprecated.html
- リフレクション | PHP 8.3 7851
- リフレクション はじめに PHP には完全なリフレクション API が付属しており、 クラス、インターフェイス、関数、メソッド、そして拡張モジュールについて 型やプロパティを実行時に調べることができます。 さらに、このリフレクション API は関数、クラス、メ
... — クラスのコンストラクタを取得する ReflectionClass::getDefaultProperties — デフォルトプロパティを取得する ReflectionClass::getDocComment — ドキュメントコメントを取得する ReflectionClass::getEndLine — 終了行を取得する ReflectionClass::getExtension — クラスを定 ... ビュートを取得する ReflectionClassConstant::getDeclaringClass — 定数を宣言しているクラスを取得する ReflectionClassConstant::getDocComment — クラス定数のドキュメントコメントを取得する ReflectionClassConstant::getModifiers — クラス定数の修飾子を取得する Reflecti ... flectionFunctionAbstract::getClosureUsedVariables — クロージャ内で使われている変数の配列を返す ReflectionFunctionAbstract::getDocComment — ドキュメントコメントを取得する ReflectionFunctionAbstract::getEndLine — 終了行番号を取得する ReflectionFunctionAbstract: ...
-
https://man.mtool.work/php/8.3/book.reflection.html
- ReflectionEnumBackedCase クラス | PHP 8.3 7749
- ReflectionEnumBackedCase クラス (PHP 8 >= 8.1.0) はじめに ReflectionEnumBackedCase クラスは、 Backed Enum の case に関する情報を報告します。 これは、スカラー型の情報を持っています。 クラス概要 class ReflectionEnumBackedCase extends Reflecti
... ay public function ReflectionClassConstant::getDeclaringClass (): ReflectionClass public function ReflectionClassConstant::getDocComment (): string | false public function ReflectionClassConstant::getModifiers (): int public function ReflectionClassConstant:: ...
-
https://man.mtool.work/php/8.3/class.reflectionenumbackedcase.html