public function __construct(Dispatcher $events, GroupRepository $groups, GroupValidator $validator) { $this->events = $events; $this->groups = $groups; $this->validator = $validator; }