<?php
namespace DelayedJobs\Worker;

use Cake\Datasource\ModelAwareTrait;

/**
 * Class BaseWorker
 */
abstract class BaseWorker
{
    use ModelAwareTrait;

    /**
     * Construct the listener
     *
     * @param array $options Allow child listeners to have options
     */
    public function __construct(array $options = [])
    {
        $this->modelFactory('Table', ['Cake\ORM\TableRegistry', 'get']);
    }
}

Add a base worker shell
Add a base worker shell
