repository; } protected function getClass(): string { return Event::class; } protected function attributeToRole(StoredObjectRoleEnum $attribute): string { return match ($attribute) { StoredObjectRoleEnum::EDIT => EventVoter::UPDATE, StoredObjectRoleEnum::SEE => EventVoter::SEE_DETAILS, }; } protected function canBeAssociatedWithWorkflow(): bool { return false; } }