private function createWorker() { $worker = $this->factory->create(); $worker->start(); $this->workers->attach($worker, 0); return $worker; }