public function getVoter($name)
    {
        if (!isset($this->voters[$name])) {
            throw new FlaggingException(sprintf('voter "%s" not found', $name));
        }

        return $this->voters[$name];
    }
public function getVoter($name)
    {
        if (!isset($this->voters[$name])) {
            throw new FlaggingException(sprintf('voter "%s" not found', $name));
        }

        return $this->voters[$name];
    }
@param string $name

@throws FlaggingException

@return VoterInterface