« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for getInterfaces (0.001 sec.)
ReflectionClass::getInterfaces — インターフェイスを取得する | PHP 8.3 13179
ReflectionClass::getInterfaces (PHP 5, PHP 7, PHP 8) ReflectionClass::getInterfaces — インターフェイスを取得する 説明 public function ReflectionClass::getInterfaces (): array インターフェイスを取得します。 パラメータ この関数にはパラメータは ... 返します。インターフェイス名が連想配列のキー、対応する値が ReflectionClass オブジェクトとなります。 例 例1 ReflectionClass::getInterfaces() の例 <?php interface Foo { } interface Bar { } class Baz implements Foo , Bar { } $rc1 = new ReflectionClass ( "Baz" ); ... print_r ( $rc1 -> getInterfaces ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [Foo] => ReflectionClass Object ( [name] => Foo ) [Bar] => ...
https://man.mtool.work/php/8.3/reflectionclass.getinterfaces.html
ReflectionClass::getInterfaceNames — インターフェイスの名前を取得する | PHP 8.3 8737
ReflectionClass::getInterfaceNames (PHP 5 >= 5.2.0, PHP 7, PHP 8) ReflectionClass::getInterfaceNames — インターフェイスの名前を取得する 説明 public function ReflectionClass::getInterfaceNames (): array インターフェイスの名前を取得します。 パ ... terfaceNames ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [0] => Foo [1] => Bar ) 参考 ReflectionClass::getInterfaces() - インターフェイスを取得する ...
https://man.mtool.work/php/8.3/reflectionclass.getinterfacenames.html
ReflectionClass クラス | PHP 8.3 8481
ReflectionClass クラス (PHP 5, PHP 7, PHP 8) はじめに ReflectionClass クラスは クラスについての情報を報告します。 クラス概要 class ReflectionClass implements Reflector { /* 定数 */ public const int IS_IMPLICIT_ABSTRACT ; public const int IS ... string | false public function getFileName (): string | false public function getInterfaceNames (): array public function getInterfaces (): array public function getLazyInitializer ( object $object ): ? callable public function getMethod ( string $name ): Re ... ているファイルのファイル名を取得する ReflectionClass::getInterfaceNames — インターフェイスの名前を取得する ReflectionClass::getInterfaces — インターフェイスを取得する ReflectionClass::getLazyInitializer — レイジーイニシャライザを取得する ReflectionClass::getMe ...
https://man.mtool.work/php/8.3/class.reflectionclass.html
ReflectionObject クラス | PHP 8.3 8298
ReflectionObject クラス (PHP 5, PHP 7, PHP 8) はじめに ReflectionObject クラスは オブジェクトについての情報を報告します。 クラス概要 class ReflectionObject extends ReflectionClass { /* 継承した定数 */ public const int ReflectionClass::IS_IM ... tFileName (): string | false public function ReflectionClass::getInterfaceNames (): array public function ReflectionClass::getInterfaces (): array public function ReflectionClass::getLazyInitializer ( object $object ): ? callable public function ReflectionCla ...
https://man.mtool.work/php/8.3/class.reflectionobject.html
ReflectionEnum クラス | PHP 8.3 8225
ReflectionEnum クラス (PHP 8 >= 8.1.0) はじめに ReflectionEnum クラスは、 列挙型に関する情報を報告します。 クラス概要 class ReflectionEnum extends ReflectionClass { /* 継承した定数 */ public const int ReflectionClass::IS_IMPLICIT_ABSTRACT ; ... tFileName (): string | false public function ReflectionClass::getInterfaceNames (): array public function ReflectionClass::getInterfaces (): array public function ReflectionClass::getLazyInitializer ( object $object ): ? callable public function ReflectionCla ...
https://man.mtool.work/php/8.3/class.reflectionenum.html
リフレクション | PHP 8.3 7878
リフレクション はじめに PHP には完全なリフレクション API が付属しており、 クラス、インターフェイス、関数、メソッド、そして拡張モジュールについて 型やプロパティを実行時に調べることができます。 さらに、このリフレクション API は関数、クラス、メ ... ているファイルのファイル名を取得する ReflectionClass::getInterfaceNames — インターフェイスの名前を取得する ReflectionClass::getInterfaces — インターフェイスを取得する ReflectionClass::getLazyInitializer — レイジーイニシャライザを取得する ReflectionClass::getMe ...
https://man.mtool.work/php/8.3/book.reflection.html
PREV 1 NEXT