src/Security/Voter/Appointment/ViewVoter.php line 8

  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Security\Voter\Appointment;
  4. class ViewVoter extends HasRoleForAppointmentVoter
  5. {
  6.     protected function getRequiredRole(): string
  7.     {
  8.         return 'OFFICE_APPOINTMENT_VIEW';
  9.     }
  10. }