public function __construct(SlugService $slugService, Dispatcher $events) { $this->slugService = $slugService; $this->events = $events; }