/** * Called when the worker is ready to go. * @return void */ public function onReady() { if ($this->pool) { $this->pool->onReady(); } }