src/Report/ReporterFactory.php
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];
    }
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];
    }
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 ] ; }
@param string $format

@return ReporterInterface
@param string $format