public function getWorker($engine, $logger)
    {
        $worker = $this->params['worker'];
        $WorkerClass = "josegonzalez\\Queuesadilla\\Worker\\" . $worker . "Worker";

        return new $WorkerClass($engine, $logger, [
            'queue' => $engine->config('queue'),
            'maxRuntime' => $engine->config('maxRuntime'),
            'maxIterations' => $engine->config('maxIterations')
        ]);
    }