Icicle\Concurrent\Worker\Internal\PooledWorker::__construct PHP Метод

__construct() публичный Метод

public __construct ( Worker $worker, callable $push )
$worker Icicle\Concurrent\Worker\Worker
$push callable Callable to push the worker back into the queue.
    public function __construct(Worker $worker, callable $push)
    {
        $this->worker = $worker;
        $this->push = $push;
    }