public function getRenderer($name)
    {
        if (!isset($this->renderers[$name])) {
            throw new \InvalidArgumentException(sprintf('Feed renderer "%s" is not registered', $name));
        }

        return $this->renderers[$name];
    }
public function getRenderer($name)
    {
        if (!isset($this->renderers[$name])) {
            throw new \InvalidArgumentException(sprintf('Feed renderer "%s" is not registered', $name));
        }

        return $this->renderers[$name];
    }
public function getRenderer ( $ name ) { if ( ! isset ( $ this -> renderers [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Feed renderer "%s" is not registered' , $ name ) ) ; } return $ this -> renderers [ $ name ] ; }
Returns renderer class.

@param string $name

@return RendererInterface

@throws \InvalidArgumentException
Returns renderer class .