Results of 1 - 10 of about 14 for ctor (0.001 sec.)
- The Pool class 11535
- « Collectable::isGarbage Pool::collect » PHP Manual pthreads The Pool class 検索 The Pool class (PECL pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustable number of Workers. Pooling provides a higher level
... threads. クラス概要 class Pool { /* プロパティ */ protected $ size ; protected $ class ; protected $ workers ; protected $ ctor ; protected $ last ; /* メソッド */ public function __construct ( int $size , string $class = ? , array $ctor = ? ) public ... function collect ( Callable $collector = ? ): int public function resize ( int $size ): void public function shutdown (): void public function submit ( Threaded ... } プロパティ size maximum number of Workers this Pool can use class the class of the Worker workers references to Workers ctor the arguments for constructor of new Workers last offset in workers of the last Worker used 目次 Pool::collect — Collect r ...
-
https://man.mtool.work/php/8.3/class.pool.html
- The Pool class 11535
- « Collectable::isGarbage Pool::collect » PHP Manual pthreads The Pool class 検索 The Pool class (PECL pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustable number of Workers. Pooling provides a higher level
... threads. クラス概要 class Pool { /* プロパティ */ protected $ size ; protected $ class ; protected $ workers ; protected $ ctor ; protected $ last ; /* メソッド */ public function __construct ( int $size , string $class = ? , array $ctor = ? ) public ... function collect ( Callable $collector = ? ): int public function resize ( int $size ): void public function shutdown (): void public function submit ( Threaded ... } プロパティ size maximum number of Workers this Pool can use class the class of the Worker workers references to Workers ctor the arguments for constructor of new Workers last offset in workers of the last Worker used 目次 Pool::collect — Collect r ...
-
https://man.mtool.work/php/8.3/class.pool.html
- Creates a new Pool of Workers 11448
- « Pool::collect Pool::resize » PHP Manual Pool Creates a new Pool of Workers 検索 Pool::__construct (PECL pthreads >= 2.0.0) Pool::__construct — Creates a new Pool of Workers 説明 public function Pool::__construct ( int $size , string $clas
... s = ? , array $ctor = ? ) Construct a new pool of workers. Pools lazily create their threads, which means new threads will only be spawned whe ... rkers for this pool to create class The class for new Workers. If no class is given, then it defaults to the Worker class. ctor An array of arguments to be passed to new workers' constructors 例 例1 Creating Pools <?php class MyWorker extends Worker ... e":protected]=> int(8) ["class":protected]=> string(8) "MyWorker" ["workers":protected]=> NULL ["work":protected]=> NULL ["ctor":protected]=> array(1) { [0]=> object(Something)#2 (0) { } } ["last":protected]=> int(0) } 関連キーワード: Pool new class ...
-
https://man.mtool.work/php/8.3/pool.construct.html
- Creates a new Pool of Workers 11448
- « Pool::collect Pool::resize » PHP Manual Pool Creates a new Pool of Workers 検索 Pool::__construct (PECL pthreads >= 2.0.0) Pool::__construct — Creates a new Pool of Workers 説明 public function Pool::__construct ( int $size , string $clas
... s = ? , array $ctor = ? ) Construct a new pool of workers. Pools lazily create their threads, which means new threads will only be spawned whe ... rkers for this pool to create class The class for new Workers. If no class is given, then it defaults to the Worker class. ctor An array of arguments to be passed to new workers' constructors 例 例1 Creating Pools <?php class MyWorker extends Worker ... e":protected]=> int(8) ["class":protected]=> string(8) "MyWorker" ["workers":protected]=> NULL ["work":protected]=> NULL ["ctor":protected]=> array(1) { [0]=> object(Something)#2 (0) { } } ["last":protected]=> int(0) } 関連キーワード: Pool protected ...
-
https://man.mtool.work/php/8.3/pool.construct.html
- Submits an object for execution 7947
- « Pool::shutdown Pool::submitTo » PHP Manual Pool Submits an object for execution 検索 Pool::submit (PECL pthreads >= 2.0.0) Pool::submit — Submits an object for execution 説明 public function Pool::submit ( Threaded $task ): int Submit the
... ) { [0]=> object(MyWork)#3 (1) { ["worker"]=> object(MyWorker)#5 (1) { ["something"]=> object(Something)#6 (0) { } } } } ["ctor":protected]=> array(1) { [0]=> object(Something)#2 (0) { } } ["last":protected]=> int(1) } 関連キーワード: object Pool pro ...
-
https://man.mtool.work/php/8.3/pool.submit.html
- Submits an object for execution 7947
- « Pool::shutdown Pool::submitTo » PHP Manual Pool Submits an object for execution 検索 Pool::submit (PECL pthreads >= 2.0.0) Pool::submit — Submits an object for execution 説明 public function Pool::submit ( Threaded $task ): int Submit the
... ) { [0]=> object(MyWork)#3 (1) { ["worker"]=> object(MyWorker)#5 (1) { ["something"]=> object(Something)#6 (0) { } } } } ["ctor":protected]=> array(1) { [0]=> object(Something)#2 (0) { } } ["last":protected]=> int(1) } 関連キーワード: Pool protected ...
-
https://man.mtool.work/php/8.3/pool.submit.html
- ReflectionClass オブジェクトの文字列表現を返す 7754
- « ReflectionClass::setStaticPropertyValue ReflectionClassConstant » PHP Manual ReflectionClass ReflectionClass オブジェクトの文字列表現を返す 検索 ReflectionClass::__toString (PHP 5, PHP 7, PHP 8) ReflectionClass::__toString — ReflectionCla
... rivate $previous ] } - Methods [10] { Method [ <internal:Core> final private method __clone ] { } Method [ <internal:Core, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] P ...
-
https://man.mtool.work/php/8.3/reflectionclass.tostring.html
- ReflectionClass オブジェクトの文字列表現を返す 7754
- « ReflectionClass::setStaticPropertyValue ReflectionClassConstant » PHP Manual ReflectionClass ReflectionClass オブジェクトの文字列表現を返す 検索 ReflectionClass::__toString (PHP 5, PHP 7, PHP 8) ReflectionClass::__toString — ReflectionCla
... rivate $previous ] } - Methods [10] { Method [ <internal:Core> final private method __clone ] { } Method [ <internal:Core, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] P ...
-
https://man.mtool.work/php/8.3/reflectionclass.tostring.html
- 例 7667
- « リフレクション 拡張 » PHP Manual リフレクション 例 検索 例 リフレクションのドキュメントの中には多くの例が示されています。 特に、各クラスの __construct のドキュメントを見るといいでしょう。 例1 シェル (ターミナル) からのリフレクションの例 $
... { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [4] { Method [ <internal:fileinfo, ctor> public method finfo ] { - Parameters [2] { Parameter #0 [ <optional> $options ] Parameter #1 [ <optional> $arg ] } } Meth ...
-
https://man.mtool.work/php/8.3/reflection.examples.html
- ReflectionClass を作成する 7667
- « ReflectionClass ReflectionClass::export » PHP Manual ReflectionClass ReflectionClass を作成する 検索 ReflectionClass::__construct (PHP 5, PHP 7, PHP 8) ReflectionClass::__construct — ReflectionClass を作成する 説明 public function Reflect
... ionClass::__construct ( object | string $objectOrClass ) 新しい ReflectionClass オブジェクトを作成します。 パラメータ objectOrClass 調べたいクラスのクラス名をあらわす文字列 ... 1] { Method [ <internal:Core> private method __clone ] { - Parameters [0] { } - Return [ void ] } Method [ <internal:Core, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> string $message = "" ] Parameter #1 [ <optiona ... hod method Parameters string Return prototype Property final construct クラス protected private int Parameter optional objectOrClass ...
-
https://man.mtool.work/php/8.3/reflectionclass.construct.html