Results of 1 - 6 of about 6 for newScope (0.002 sec.)
- 新しくバインドしたオブジェクトとクラスのスコープで、クロージャを複製する 10346
- « Closure::bind Closure::call » PHP Manual Closure 新しくバインドしたオブジェクトとクラスのスコープで、クロージャを複製する 検索 Closure::bindTo (PHP 5 >= 5.4.0, PHP 7, PHP 8) Closure::bindTo — 新しくバインドしたオブジェクトとクラスのスコー
... プで、クロージャを複製する 説明 public function Closure::bindTo ( ? object $newThis , object | string | null $newScope = "static" ): ? Closure 自身と同じ本体とバインド変数を持つ新しい 無名関数 を作って返します。しかし、バインドするオブジェク ... te メンバーや protected メンバーにアクセスできるのかが決まります。 すなわち、無名関数から見えるメンバーは、 その無名関数が newScope クラスのメソッドであった場合と同じものになります。 static なクロージャは何もオブジェクトをバインドできません ( newThis の値 ... ます。 パラメータ newThis 指定した無名関数をバインドするオブジェクト。クロージャのバインドを解除するには null を指定します。 newScope クロージャを関連づけるクラススコープ、あるいは 'static' で現在のスコープを維持します。 オブジェクトを渡した場合は、そのオブ ...
-
https://man.mtool.work/php/8.3/closure.bindto.html
- 新しくバインドしたオブジェクトとクラスのスコープで、クロージャを複製する 10346
- « Closure::bind Closure::call » PHP Manual Closure 新しくバインドしたオブジェクトとクラスのスコープで、クロージャを複製する 検索 Closure::bindTo (PHP 5 >= 5.4.0, PHP 7, PHP 8) Closure::bindTo — 新しくバインドしたオブジェクトとクラスのスコー
... プで、クロージャを複製する 説明 public function Closure::bindTo ( ? object $newThis , object | string | null $newScope = "static" ): ? Closure 自身と同じ本体とバインド変数を持つ新しい 無名関数 を作って返します。しかし、バインドするオブジェク ... te メンバーや protected メンバーにアクセスできるのかが決まります。 すなわち、無名関数から見えるメンバーは、 その無名関数が newScope クラスのメソッドであった場合と同じものになります。 static なクロージャは何もオブジェクトをバインドできません ( newThis の値 ... ます。 パラメータ newThis 指定した無名関数をバインドするオブジェクト。クロージャのバインドを解除するには null を指定します。 newScope クロージャを関連づけるクラススコープ、あるいは 'static' で現在のスコープを維持します。 オブジェクトを渡した場合は、そのオブ ...
-
https://man.mtool.work/php/8.3/closure.bindto.html
- Closure クラス 9834
- « Serializable::unserialize Closure::__construct » PHP Manual 定義済みのインターフェイスとクラス Closure クラス 検索 Closure クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに 無名関数 を表すために使うクラスです。 無名関数は、Closure 型のオブジ
... ivate function __construct () public static function bind ( Closure $closure , ? object $newThis , object | string | null $newScope = "static" ): ? Closure public function bindTo ( ? object $newThis , object | string | null $newScope = "static" ): ? Clos ... ード: Closure クラス クロージャ メソッド function static object オブジェクト construct 無名 newThis invoke bind string null newScope bindTo call mixed fromCallable ...
-
https://man.mtool.work/php/8.3/class.closure.html
- Closure クラス 9834
- « Serializable::unserialize Closure::__construct » PHP Manual 定義済みのインターフェイスとクラス Closure クラス 検索 Closure クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに 無名関数 を表すために使うクラスです。 無名関数は、Closure 型のオブジ
... ivate function __construct () public static function bind ( Closure $closure , ? object $newThis , object | string | null $newScope = "static" ): ? Closure public function bindTo ( ? object $newThis , object | string | null $newScope = "static" ): ? Clos ... re::getCurrent — 現在実行中のクロージャを返す 関連キーワード: Closure クロージャ static construct 無名 newThis invoke bind newScope bindTo call mixed fromCallable callable getCurrent シリアライズ 束縛 バインド スコープ 複製 Serializable unserialize インタ ...
-
https://man.mtool.work/php/8.3/class.closure.html
- バインドされたオブジェクトとクラスのスコープでクロージャを複製する 9304
- « Closure::__construct Closure::bindTo » PHP Manual Closure バインドされたオブジェクトとクラスのスコープでクロージャを複製する 検索 Closure::bind (PHP 5 >= 5.4.0, PHP 7, PHP 8) Closure::bind — バインドされたオブジェクトとクラスのスコープでク
... ージャを複製する 説明 public static function Closure::bind ( Closure $closure , ? object $newThis , object | string | null $newScope = "static" ): ? Closure このメソッドは、staticメソッド版の Closure::bindTo() です。 詳細な説明は Closure::bindTo() のドキュ ... ドする無名関数。 newThis 指定した無名関数をバインドするオブジェクト。クロージャのバインドを解除するには null を指定します。 newScope クロージャを関連づけるクラススコープ、あるいは 'static' で現在のスコープを維持します。 オブジェクトを渡した場合は、そのオブ ... ロージャを複製する 関連キーワード: Closure バインド クロージャ static スコープ bind 複製 bindTo 無名 private closure newThis newScope sfoo ifoo return construct 詳細 ドキュメント 解除 関連 維持 protected アクセス権 内部 ...
-
https://man.mtool.work/php/8.3/closure.bind.html
- バインドされたオブジェクトとクラスのスコープでクロージャを複製する 5118
- « Closure::__construct Closure::bindTo » PHP Manual Closure バインドされたオブジェクトとクラスのスコープでクロージャを複製する 検索 Closure::bind (PHP 5 >= 5.4.0, PHP 7, PHP 8) Closure::bind — バインドされたオブジェクトとクラスのスコープでク
... ージャを複製する 説明 public static function Closure::bind ( Closure $closure , ? object $newThis , object | string | null $newScope = "static" ): ? Closure このメソッドは、staticメソッド版の Closure::bindTo() です。 詳細な説明は Closure::bindTo() のドキュ ... ドする無名関数。 newThis 指定した無名関数をバインドするオブジェクト。クロージャのバインドを解除するには null を指定します。 newScope クロージャを関連づけるクラススコープ、あるいは 'static' で現在のスコープを維持します。 オブジェクトを渡した場合は、そのオブ ...
-
https://man.mtool.work/php/8.3/closure.bind.html
PREV
1
NEXT