CakeFest 2024: The Official CakePHP Conference

ReflectionMethod::isPrivate

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isPrivateprivate メソッドであるかどうかを調べる

説明

public ReflectionMethod::isPrivate(): bool

private メソッドであるかどうかを調べます。

パラメータ

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

戻り値

private メソッドである場合に true、それ以外の場合に false を返します。

参考

add a note

User Contributed Notes

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