public function __construct($context = []) { $this->model = $context['model']; $this->queue =& $context['queue']; parent::__construct($context); }