count() == 1) { $repository->attachRole($event->user, 'owner'); } } }