<?phpnamespace App\Security;use Exception;use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;use Symfony\Component\Security\Core\Authorization\Voter\Voter;use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;class ProgramVoter extends Voter{ protected function supports($attribute, $subject) { return true; } protected function voteOnAttribute($attribute, $subject, TokenInterface $token) { return VoterInterface::ACCESS_DENIED; }}