src/Security/Voter/Patient/AddVoter.php line 10

  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Security\Voter\Patient;
  4. use App\Security\Voter\HasRoleForOfficeVoter;
  5. class AddVoter extends HasRoleForOfficeVoter
  6. {
  7.     protected function getRequiredRole(): string
  8.     {
  9.         return 'OFFICE_PATIENT_ADD';
  10.     }
  11. }