Results of 1 - 4 of about 4 for mutable (0.002 sec.)
- DateTime::createFromInterface — 指定された DateTimeInterface オブジェクトをカプ... 12316
- DateTime::createFromInterface (PHP 8) DateTime::createFromInterface — 指定された DateTimeInterface オブジェクトをカプセル化した、新しい DateTime オブジェクトを返す 説明 public static function DateTime::createFromInterface ( DateTimeInterfac
... 新しい DateTime クラスのインスタンスを返します。 例 例1 変更可能な DateTime オブジェクトを作る <?php $date = new DateTimeImmutable ( "2014-06-20 11:45 Europe/London" ); $mutable = DateTime :: createFromInterface ( $date ); $date = new DateTime ( "2014-0 ... 6-20 11:45 Europe/London" ); $also_mutable = DateTime :: createFromInterface ( $date ); 他のマニュアルの関連ページ Python datetime Python datetime Linux JM date(1) P ...
-
https://man.mtool.work/php/8.3/datetime.createfrominterface.html
- トレイト | PHP 8.3 8765
- トレイト PHP は、コードを再利用するための「トレイト」という仕組みを実装しています。 トレイトは、PHP のような単一継承言語でコードを再利用するための仕組みのひとつです。 トレイトは、単一継承の制約を減らすために作られたもので、 いくつかのメソッ
... 定数 PHP 8.2.0 以降では、トレイトでも定数を定義できます。 例14 定数を定義する <?php trait ConstantsTrait { public const FLAG_MUTABLE = 1 ; final public const FLAG_IMMUTABLE = 5 ; } class ConstantsExample { use ConstantsTrait ; } $example = new ConstantsEx ... ample ; echo $example :: FLAG_MUTABLE ; ?> 上の例の出力は以下となります。 1 トレイトで定数を定義したときは、 クラスではそれと互換性 (公開範囲と初期値、そして fi ... 互換性がない名前を定義すると、致命的なエラーが発生します。 例15 衝突の解決 <?php trait ConstantsTrait { public const FLAG_MUTABLE = 1 ; final public const FLAG_IMMUTABLE = 5 ; } class ConstantsExample { use ConstantsTrait ; public const FLAG_IMMUTABLE ...
-
https://man.mtool.work/php/8.3/language.oop5.traits.html
- DateTime::createFromImmutable — 与えられた DateTimeImmutable オブジェクトをカプ... 8488
- DateTime::createFromImmutable (PHP 7 >= 7.3.0, PHP 8) DateTime::createFromImmutable — 与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のインスタンスを返す 説明 public static function DateTime::createFromImmutable
... ( DateTimeImmutable $object ): static パラメータ object 変更可能なバージョンに変換が必要な、 DateTimeImmutable オブジェクト。 このオブジェクト ... は、 新しい DateTime のインスタンスを生成していました。 例 例1 変更可能な日付オブジェクトを作る <?php $date = new DateTimeImmutable ( "2014-06-20 11:45 Europe/London" ); $mutable = DateTime :: createFromImmutable ( $date ); 他のマニュアルの関連ページ Pyt ...
-
https://man.mtool.work/php/8.3/datetime.createfromimmutable.html
- MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite | PHP 8.3 7397
- MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite 説明 public function MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\Bu
... lkWrite , which is a mutable object to which one or more write operations may be added. The write(s) may then be executed with MongoDB\Driver\Manager:: ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.construct.html
PREV
1
NEXT