original_string: protected function addRenderFormat(RenderInterface $renderer)
      {
          foreach ($renderer->getSupportedFormats() as $format) {
              $this->renderers[$format] = $renderer;
          }
      }
code: protected function addRenderFormat(RenderInterface $renderer)
      {
          foreach ($renderer->getSupportedFormats() as $format) {
              $this->renderers[$format] = $renderer;
          }
      }
code_tokens: protected function addRenderFormat ( RenderInterface $ renderer ) { foreach ( $ renderer -> getSupportedFormats ( ) as $ format ) { $ this -> renderers [ $ format ] = $ renderer ; } }
docstring: Adds each renderer to its supported format.
  
  @param \AltThree\Badger\Render\RenderInterface $renderer
  
  @return void
docstring_tokens: Adds each renderer to its supported format .