« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for mutable (0.002 sec.)
指定された DateTimeInterface オブジェクトをカプセル化した、新しい DateTime オブ... 11893
« DateTime::createFromImmutable DateTime::createFromTimestamp » PHP Manual DateTime 指定された DateTimeInterface オブジェクトをカプセル化した、新しい DateTime オブジェクトを返す 検索 DateTime::createFromInterface (PHP 8) DateTime::createFro ... 新しい 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 ); 関連キーワード: DateTime オブジェクト DateTimeInterface createFromInterface d ... ate カプセル化 object new Europe London mutable createFromImmutable Search createFromTimestamp static function パラメータ バージョン 変換 日付 ...
https://man.mtool.work/php/8.3/datetime.createfrominterface.html
指定された DateTimeInterface オブジェクトをカプセル化した、新しい DateTime オブ... 11893
« DateTime::createFromImmutable DateTime::createFromTimestamp » PHP Manual DateTime 指定された DateTimeInterface オブジェクトをカプセル化した、新しい DateTime オブジェクトを返す 検索 DateTime::createFromInterface (PHP 8) DateTime::createFro ... 新しい 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 ); 関連キーワード: DateTime DateTimeInterface createFromInterface date カプセル化 ... Europe London mutable createFromImmutable createFromTimestamp static 日付 時刻 タイムゾーン インスタンス DateTimeImmutable also ...
https://man.mtool.work/php/8.3/datetime.createfrominterface.html
与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のイ... 9760
« DateTime::createFromFormat DateTime::createFromInterface » PHP Manual DateTime 与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のインスタンスを返す 検索 DateTime::createFromImmutable (PHP 7 >= 7.3.0, PHP 8) Date ... Time::createFromImmutable — 与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のインスタンスを返す 説明 public static funct ... ion DateTime::createFromImmutable ( DateTimeImmutable $object ): static パラメータ object 変更可能なバージョンに変換が必要な、 DateTimeImmutable オブジェクト ... は、 新しい DateTime のインスタンスを生成していました。 例 例1 変更可能な日付オブジェクトを作る <?php $date = new DateTimeImmutable ( "2014-06-20 11:45 Europe/London" ); $mutable = DateTime :: createFromImmutable ( $date ); 関連キーワード: DateTime インス ...
https://man.mtool.work/php/8.3/datetime.createfromimmutable.html
トレイト 8133
« オブジェクト インターフェイス 無名クラス » PHP Manual クラスとオブジェクト トレイト 検索 トレイト 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
トレイト 8133
« オブジェクト インターフェイス 無名クラス » PHP Manual クラスとオブジェクト トレイト 検索 トレイト 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
与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のイ... 7790
« DateTime::createFromFormat DateTime::createFromInterface » PHP Manual DateTime 与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のインスタンスを返す 検索 DateTime::createFromImmutable (PHP 7 >= 7.3.0, PHP 8) Date ... Time::createFromImmutable — 与えられた DateTimeImmutable オブジェクトをカプセル化した、新しい DateTime のインスタンスを返す 説明 public static funct ... ion DateTime::createFromImmutable ( DateTimeImmutable $object ): static パラメータ object 変更可能なバージョンに変換が必要な、 DateTimeImmutable オブジェクト ... は、 新しい DateTime のインスタンスを生成していました。 例 例1 変更可能な日付オブジェクトを作る <?php $date = new DateTimeImmutable ( "2014-06-20 11:45 Europe/London" ); $mutable = DateTime :: createFromImmutable ( $date ); 関連キーワード: DateTime インス ...
https://man.mtool.work/php/8.3/datetime.createfromimmutable.html
Create a new BulkWrite 7302
« MongoDB\Driver\BulkWrite MongoDB\Driver\BulkWrite::count » PHP Manual MongoDB\Driver\BulkWrite Create a new BulkWrite 検索 MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWr ... n MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\BulkWrite , 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
Create a new BulkWrite 7302
« MongoDB\Driver\BulkWrite MongoDB\Driver\BulkWrite::count » PHP Manual MongoDB\Driver\BulkWrite Create a new BulkWrite 検索 MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWr ... n MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\BulkWrite , 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