code: public function getReporter($format)
      {
          if (!isset($this->reporters[$format])) {
              throw new \UnexpectedValueException(sprintf('Reporter for format "%s" is not registered.', $format));
          }
  
          return $this->reporters[$format];
      }
docs: @param string $format
  
  @return ReporterInterface