src/Security/Voter/Survey/AssignVoter.php line 7

  1. <?php
  2. namespace App\Security\Voter\Survey;
  3. use App\Security\Voter\HasRoleForOfficeVoter;
  4. class AssignVoter extends HasRoleForOfficeVoter
  5. {
  6.     protected function getRequiredRole(): string
  7.     {
  8.         return 'OFFICE_SURVEY_ASSIGN';
  9.     }
  10. }