src/Renderer/Renderer.php
public function addRenderer($index, $method = null)
    {
        $this->renderers[$index] = is_null($method) ?  $index : $method;
        return $this;
    }
public function addRenderer($index, $method = null)
    {
        $this->renderers[$index] = is_null($method) ?  $index : $method;
        return $this;
    }
public function addRenderer ( $ index , $ method = null ) { $ this -> renderers [ $ index ] = is_null ( $ method ) ? $ index : $ method ; return $ this ; }
Add a single renderer to the renderers container

@param $index
@param $method
@return $this
Add a single renderer to the renderers container