original_string: public static function setOutputFormat($format)
      {
          $self = Debugger::getInstance();
  
          if (!isset($self->_templates[$format])) {
              throw new InvalidArgumentException('Invalid Debugger output format.');
          }
          $self->_outputFormat = $format;
      }
code: public static function setOutputFormat($format)
      {
          $self = Debugger::getInstance();
  
          if (!isset($self->_templates[$format])) {
              throw new InvalidArgumentException('Invalid Debugger output format.');
          }
          $self->_outputFormat = $format;
      }
code_tokens: public static function setOutputFormat ( $ format ) { $ self = Debugger :: getInstance ( ) ; if ( ! isset ( $ self -> _templates [ $ format ] ) ) { throw new InvalidArgumentException ( 'Invalid Debugger output format.' ) ; } $ self -> _outputFormat = $ format ; }
docstring: Set the output format for Debugger error rendering.
  
  @param string $format The format you want errors to be output as.
  @return void
  @throws \InvalidArgumentException When choosing a format that doesn't exist.
docstring_tokens: Set the output format for Debugger error rendering .