protected function getRendererService($name)
    {
        if (!isset($this->renderers[$name])) {
            throw new \RuntimeException('The renderer "%s" does not exist.');
        }

        return $this->container->get($this->renderers[$name]);
    }
protected function getRendererService($name)
    {
        if (!isset($this->renderers[$name])) {
            throw new \RuntimeException('The renderer "%s" does not exist.');
        }

        return $this->container->get($this->renderers[$name]);
    }
protected function getRendererService ( $ name ) { if ( ! isset ( $ this -> renderers [ $ name ] ) ) { throw new \ RuntimeException ( 'The renderer "%s" does not exist.' ) ; } return $ this -> container -> get ( $ this -> renderers [ $ name ] ) ; }
Returns the renderer service for given renderer name.

@param string $name

@throws \RuntimeException

@return object
Returns the renderer service for given renderer name .