protected function getRendererForFormat(string $format)
    {
        if (!isset($this->renderers[$format])) {
            throw new InvalidRendererException('No renders found for the given format: '.$format);
        }

        return $this->renderers[$format];
    }
protected function getRendererForFormat(string $format)
    {
        if (!isset($this->renderers[$format])) {
            throw new InvalidRendererException('No renders found for the given format: '.$format);
        }

        return $this->renderers[$format];
    }
protected function getRendererForFormat ( string $ format ) { if ( ! isset ( $ this -> renderers [ $ format ] ) ) { throw new InvalidRendererException ( 'No renders found for the given format: ' . $ format ) ; } return $ this -> renderers [ $ format ] ; }
Returns the renderer for the given format.

@param string $format

@throws \AltThree\Badger\Exceptions\InvalidRendererException

@return \AltThree\Badger\Render\RenderInterface
Returns the renderer for the given format .