Skip to content

Instantly share code, notes, and snippets.

Avatar

wholehogsoftware

View GitHub Profile
View gist:4e4ec02a8c3752789e2de6c247b148d5
<?php
namespace Hero\AgentBundle\Security\Authorization\Voter;
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* Class LeadVoter
* @package Hero\AgentBundle\Security\Authorization\Voter