original_string: protected function getRendererForFormat(string $format)
      {
          if (!isset($this->renderers[$format])) {
              throw new InvalidRendererException('No renders found for the given format: '.$format);
          }
  
          return $this->renderers[$format];
      }
code: protected function getRendererForFormat(string $format)
      {
          if (!isset($this->renderers[$format])) {
              throw new InvalidRendererException('No renders found for the given format: '.$format);
          }
  
          return $this->renderers[$format];
      }
code_tokens: protected function getRendererForFormat ( string $ format ) { if ( ! isset ( $ this -> renderers [ $ format ] ) ) { throw new InvalidRendererException ( 'No renders found for the given format: ' . $ format ) ; } return $ this -> renderers [ $ format ] ; }
docstring: Returns the renderer for the given format.
  
  @param string $format
  
  @throws \AltThree\Badger\Exceptions\InvalidRendererException
  
  @return \AltThree\Badger\Render\RenderInterface
docstring_tokens: Returns the renderer for the given format .