src/Security/Voter/Office/DesignEditVoter.php line 10

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