public function __construct(GrumPHP $grumPHP, EventDispatcherInterface $eventDispatcher) { $this->tasks = new TasksCollection(); $this->eventDispatcher = $eventDispatcher; $this->grumPHP = $grumPHP; }