public function addWorker($worker)
    {
        if (!$worker instanceof Worker) {
            throw new \Exception('$worker is not an instance of Worker');
        }
        $this->workerList[$worker->getId()] = $worker;

        return $this;
    }