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