original_string: public function addRenderer(RendererAbstract $renderer)
      {
          $extension = $renderer->getExtension();
  
          if (isset($this->renderer[$extension])) {
              return false;
          }
          
          $this->renderer[$extension] = $renderer;
          return true;
      }
code: public function addRenderer(RendererAbstract $renderer)
      {
          $extension = $renderer->getExtension();
  
          if (isset($this->renderer[$extension])) {
              return false;
          }
          
          $this->renderer[$extension] = $renderer;
          return true;
      }
code_tokens: public function addRenderer ( RendererAbstract $ renderer ) { $ extension = $ renderer -> getExtension ( ) ; if ( isset ( $ this -> renderer [ $ extension ] ) ) { return false ; } $ this -> renderer [ $ extension ] = $ renderer ; return true ; }
docstring: Add a renderer.
  
  @access public
  @param \Zepi\Web\General\Template\RendererAbstract $renderer
  @return boolean
docstring_tokens: Add a renderer .