« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 202 for interface (0.005 sec.)
MongoDB Extension | PHP 8.3 11134
MongoDB Extension This extension is developed atop the » libmongoc and » libbson libraries. It provides a minimal API for core driver functionality: commands , queries , writes , connection management , and BSON serialization . Userland PHP ... \Cursor — The MongoDB\Driver\Cursor class MongoDB\Driver\CursorId — The MongoDB\Driver\CursorId class MongoDB\Driver\CursorInterface — The MongoDB\Driver\CursorInterface interface MongoDB\Driver\Server — The MongoDB\Driver\Server class MongoDB\Driver\Serv ... ON\Timestamp class MongoDB\BSON\UTCDateTime — The MongoDB\BSON\UTCDateTime class MongoDB\BSON\Type — The MongoDB\BSON\Type interface MongoDB\BSON\Persistable — The MongoDB\BSON\Persistable interface MongoDB\BSON\Serializable — The MongoDB\BSON\Serializabl ... e interface MongoDB\BSON\Unserializable — The MongoDB\BSON\Unserializable interface MongoDB\BSON\BinaryInterface — The MongoDB\BSON\Bi ...
https://man.mtool.work/php/8.3/book.mongodb.html
interface_exists — インターフェイスが宣言されているかどうかを確認する | PHP 8.3 9291
interface_exists (PHP 5 >= 5.0.2, PHP 7, PHP 8) interface_exists — インターフェイスが宣言されているかどうかを確認する 説明 function interface_exists ( string $interface , bool $autoload = true ): bool 指定したインターフェイスが定義されている ... かどうかを調べます。 パラメータ interface インターフェイス名。 autoload まだロードされていない場合に オートロード するかどうか。 戻り値 interface で与えられたインタ ... ーフェイスが宣言されていれば true を返します。 そうでなければ false を返します。 例 例1 interface_exists() の例 <?php // 使用する前にインターフェイスが存在するかどうかを確認する if ( interface_exists ( 'MyInterface' )) { ... class MyClass implements MyInterface { // メソッド } } ?> 参考 get_declared_interfaces() - 宣言されている全てのインターフェイスの配列を返す class_implements() ...
https://man.mtool.work/php/8.3/function.interface-exists.html
Yaf_View_Interface クラス | PHP 8.3 9173
Yaf_View_Interface クラス (Yaf >=1.0.0) はじめに Yaf では、組み込みのビューエンジン Yaf_View_Simple のかわりにカスタムビューを自作できるようになっています。 その実例は、 Yaf_Dispatcher::setView() を参照ください。 クラス概要 class Yaf_View_Interface ... $tpl , array $tpl_vars = ? ): string abstract public function setScriptPath ( string $template_dir ): void } 目次 Yaf_View_Interface::assign — 値をビューエンジンに代入する Yaf_View_Interface::display — テンプレートをレンダリングして出力する Yaf_View_Inter ... face::getScriptPath — The getScriptPath purpose Yaf_View_Interface::render — テンプレートをレンダリングする Yaf_View_Interface::setScriptPath — The setScriptPath purpose 他のマニュアルの関連 ...
https://man.mtool.work/php/8.3/class.yaf-view-interface.html
Componere\Abstract\Definition::addInterface — Add Interface | PHP 8.3 9055
Componere\Abstract\Definition::addInterface (Componere 2 >= 2.1.0) Componere\Abstract\Definition::addInterface — Add Interface 説明 public function Componere\Abstract\Definition::addInterface ( string $interface ): Definition Shall implemen ... t the given interface on the current definition パラメータ interface The case insensitive name of an interface 戻り値 The current Definition Exc ...
https://man.mtool.work/php/8.3/componere-abstract-definition.addinterface.html
Yaf_Route_Interface クラス | PHP 8.3 8369
Yaf_Route_Interface クラス (Yaf >=1.0.0) はじめに Yaf_Route_Interface を使うと、開発者がカスタムルートを定義できるようになります。 クラス概要 class Yaf_Route_Interface { /* メソッド */ abstract public function assemble ( array $info , array ... $query = ? ): string abstract public function route ( Yaf_Request_Abstract $request ): bool } 目次 Yaf_Route_Interface::assemble — リクエストを組み立てる Yaf_Route_Interface::route — リクエストをルーティングする 他のマニュアルの関連ページ Li ...
https://man.mtool.work/php/8.3/class.yaf-route-interface.html
オブジェクト インターフェイス | PHP 8.3 8133
オブジェクト インターフェイス オブジェクト インターフェイスでは、クラスが実装すべきメソッドやプロパティの 宣言だけを行うコードを作成できます。ここでは具体的な実装は必要ありません。 インターフェイスはクラス、トレイト、列挙型と名前空間を共有す ... 同じ名前を使ってはいけません。 インターフェイスは通常のクラスと同様に定義することができますが、 キーワード class のかわりに interface を用います。またメソッドの実装は全く定義しません。 インターフェイス内で宣言される全てのメソッドは public である必要がありま ... き込み可能」と宣言されているプロパティを readonly にすることはできません。 例1 インターフェイスでのプロパティ宣言の例 <?php interface I { // 実装クラスは、public に読み取り可能なプロパティを持つ必要があります。 // public に書き込み可能かどうかは制限されませ ... $this -> all = strtoupper ( $value ); } } } ?> 例 例2 インターフェイスの例 <?php // インターフェイス 'Template' を宣言する interface Template { public function setVariable ( $name , $var ); public function getHtml ( $template ); } // インターフェイスを実装 ...
https://man.mtool.work/php/8.3/language.oop5.interfaces.html
The MongoDB\BSON\Type interface | PHP 8.3 8080
The MongoDB\BSON\Type interface (mongodb >=1.0.0) はじめに Abstract base interface that should not be implemented directly. インターフェイス概要 class MongoDB\BSON\Type { } This interface has no methods. Its only purpose is to be the base interface ...
https://man.mtool.work/php/8.3/class.mongodb-bson-type.html
The MongoDB\Driver\Monitoring\Subscriber interface | PHP 8.3 8080
The MongoDB\Driver\Monitoring\Subscriber interface (mongodb >=1.3.0) はじめに Base interface for event subscribers. This is used as a parameter type in the functions MongoDB\Driver\Monitoring\addSubscriber() and MongoDB\Driver\Monitoring\re ... scriber() and should not be implemented directly. インターフェイス概要 class MongoDB\Driver\Monitoring\Subscriber { } This interface has no methods. Its only purpose is to be the base interface for all event subscribers. ...
https://man.mtool.work/php/8.3/class.mongodb-driver-monitoring-subscriber.html
The MongoDB\BSON\MaxKeyInterface interface | PHP 8.3 7383
The MongoDB\BSON\MaxKeyInterface interface (mongodb >=1.3.0) はじめに This interface is implemented by MongoDB\BSON\MaxKey to be used as a parameter, return, or property type in userland classes. クラス概要 class MongoDB\BSON\MaxKeyInterface ... e { } This interface has no methods. ...
https://man.mtool.work/php/8.3/class.mongodb-bson-maxkeyinterface.html
The MongoDB\BSON\MinKeyInterface interface | PHP 8.3 7383
The MongoDB\BSON\MinKeyInterface interface (mongodb >=1.3.0) はじめに This interface is implemented by MongoDB\BSON\MinKey to be used as a parameter, return, or property type in userland classes. クラス概要 class MongoDB\BSON\MinKeyInterface ... e { } This interface has no methods. ...
https://man.mtool.work/php/8.3/class.mongodb-bson-minkeyinterface.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT