Results of 1 - 10 of about 287 for implements (0.001 sec.)
- class_implements — 与えられたクラスあるいはインターフェイスが実装しているインタ... 9994
- class_implements (PHP 5, PHP 7, PHP 8) class_implements — 与えられたクラスあるいはインターフェイスが実装しているインターフェイスを返す 説明 function class_implements ( object | string $object_or_class , bool $autoload = true ): array | fals
... オートロード するかどうか。 戻り値 成功した場合に配列、 指定されたクラスが存在しない場合に false を返します。 例 例1 class_implements() の例 <?php interface foo { } class bar implements foo {} print_r ( class_implements (new bar )); // パラメータを文字列と ... して指定しても良い print_r ( class_implements ( 'bar' )); spl_autoload_register (); // 'not_loaded' クラスをロードするためにオートローディングを使用する print_r ( class ... _implements ( 'not_loaded' , true )); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [foo] => foo ) Array ( [foo] => foo ) ...
-
https://man.mtool.work/php/8.3/function.class-implements.html
- Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 9485
- Serialization and deserialization of PHP variables into MongoDB This document discusses how compound structures (i.e. documents, arrays, and objects) are converted between BSON and PHP values. Serialization to BSON Arrays If an array is a p
... ment. Objects If an object is of the stdClass class, serialize as a BSON document . If an object is a supported class that implements MongoDB\BSON\Type , then use the BSON serialization logic for that specific type. MongoDB\BSON\Type instances (excluding M ... BSON document . Keep only public properties, and ignore protected and private properties. If an object is of a class that implements the MongoDB\BSON\Serializable interface, call MongoDB\BSON\Serializable::bsonSerialize() and use the returned array or std ... array or stdClass , throw an MongoDB\Driver\Exception\UnexpectedValueException exception. If an object is of a class that implements the MongoDB\BSON\Persistable interface (which implies MongoDB\BSON\Serializable ), obtain the properties in a similar way ...
-
https://man.mtool.work/php/8.3/mongodb.persistence.html
- The MongoDB\BSON\Regex class | PHP 8.3 8804
- The MongoDB\BSON\Regex class (mongodb >=1.0.0) はじめに BSON type for a regular expression pattern and optional » flags . 注意 : This BSON type is mainly used when querying the database. Alternatively, the » $regex query operator may be use
... d. クラス概要 final class MongoDB\BSON\Regex implements MongoDB\BSON\RegexInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final public function __c ... e (): mixed final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\ ... BSON\RegexInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\Regex::__construct — Construct a new Regex MongoDB\BSON\Regex::getFl ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-regex.html
- The MongoDB\BSON\UTCDateTime class | PHP 8.3 8804
- The MongoDB\BSON\UTCDateTime class (mongodb >=1.0.0) はじめに Represents a » BSON date . The value is a 64-bit integer that represents the number of milliseconds since the Unix epoch (Jan 1, 1970). Negative values represent dates before 197
... 0. クラス概要 final class MongoDB\BSON\UTCDateTime implements MongoDB\BSON\UTCDateTimeInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final public functi ... meImmutable final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\ ... BSON\UTCDateTimeInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\UTCDateTime::__construct — Construct a new UTCDateTime MongoDB\BSON\ ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-utcdatetime.html
- The MongoDB\BSON\Javascript class | PHP 8.3 8641
- The MongoDB\BSON\Javascript class (mongodb >=1.0.0) はじめに BSON type for Javascript code. An optional scope document may be specified that maps identifiers to values and defines the scope in which the code should be evaluated by the serve
... mands that take a Javascript function as a parameter, such as » mapReduce . クラス概要 final class MongoDB\BSON\Javascript implements MongoDB\BSON\JavascriptInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final public functio ... e (): mixed final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\ ... BSON\JavascriptInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\Javascript::__construct — Construct a new Javascript MongoDB\BSON\Ja ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-javascript.html
- The MongoDB\BSON\Timestamp class | PHP 8.3 8641
- The MongoDB\BSON\Timestamp class (mongodb >=1.0.0) はじめに Represents a » BSON timestamp , The value consists of a 4-byte timestamp (i.e. seconds since the epoch) and a 4-byte increment. 注意 : This is an internal MongoDB type used for rep
... for general date storage ( MongoDB\BSON\UTCDateTime should be used instead). クラス概要 final class MongoDB\BSON\Timestamp implements MongoDB\BSON\TimestampInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final public function ... e (): mixed final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\ ... BSON\TimestampInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\Timestamp::__construct — Construct a new Timestamp MongoDB\BSON\Time ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-timestamp.html
- The MongoDB\BSON\MaxKey class | PHP 8.3 8469
- The MongoDB\BSON\MaxKey class (mongodb >=1.0.0) はじめに Special BSON type which compares higher than all other possible BSON element values. 注意 : This is an internal MongoDB type used for indexing and sharding. クラス概要 final class Mon
... goDB\BSON\MaxKey implements MongoDB\BSON\MaxKeyInterface , MongoDB\BSON\Type , JsonSerializable { /* メソッド */ final public function __construct () ... final public function jsonSerialize (): mixed } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.3.0 Implements MongoDB\BSON\MaxKeyInterface . PECL mongodb 1.2.0 Implements Ser ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-maxkey.html
- The MongoDB\BSON\MinKey class | PHP 8.3 8469
- The MongoDB\BSON\MinKey class (mongodb >=1.0.0) はじめに Special BSON type which compares lower than all other possible BSON element values. 注意 : This is an internal MongoDB type used for indexing and sharding. クラス概要 final class Mong
... oDB\BSON\MinKey implements MongoDB\BSON\MinKeyInterface , MongoDB\BSON\Type , JsonSerializable { /* メソッド */ final public function __construct () ... final public function jsonSerialize (): mixed } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.3.0 Implements MongoDB\BSON\MinKeyInterface . PECL mongodb 1.2.0 Implements Ser ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-minkey.html
- The MongoDB\BSON\Decimal128 class | PHP 8.3 8382
- The MongoDB\BSON\Decimal128 class (mongodb >=1.2.0) はじめに BSON type for the » Decimal128 floating-point format , which supports numbers with up to 34 decimal digits (i.e. significant digits) and an exponent range of -6143 to +6144. Unlik
... e the BSON type with an earlier version of MongoDB will result in an error. クラス概要 final class MongoDB\BSON\Decimal128 implements MongoDB\BSON\Decimal128Interface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final public functio ... e (): mixed final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\ ... BSON\Decimal128Interface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\Decimal128::__construct — Construct a new Decimal128 MongoDB\BSON\De ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-decimal128.html
- オブジェクト インターフェイス | PHP 8.3 8296
- オブジェクト インターフェイス オブジェクト インターフェイスでは、クラスが実装すべきメソッドやプロパティの 宣言だけを行うコードを作成できます。ここでは具体的な実装は必要ありません。 インターフェイスはクラス、トレイト、列挙型と名前空間を共有す
... が大きく損なわれる上、 コンストラクタには継承ルールが適用されないため、 一貫しない、予期せぬ結果を生む可能性があるからです。 implements インターフェイスを実装するには、 implements 演算子を使用し、 このインターフェイスに含まれる全てのメソッドを実装する必要があ ... このクラスは、3つのプロパティをすべてフックのない通常のプロパティとして実装しています。 // これは問題ありません。 class C1 implements I { public string $readable ; public string $writeable ; public string $both ; } // このクラスは、3つのプロパティすべてを、 ... 要求されたフックのみを使って実装しています。 // これも問題ありません。 class C2 implements I { private string $written = '' ; private string $all = '' ; // get フックのみ使い仮想プロパティを作成しています。 // 「p ...
-
https://man.mtool.work/php/8.3/language.oop5.interfaces.html