src/Rasterization/SVGRasterizer.php
private static function getRenderer($id)
    {
        if (!isset(self::$renderers[$id])) {
            throw new \InvalidArgumentException("no such renderer: ".$id);
        }
        return self::$renderers[$id];
    }
private static function getRenderer($id)
    {
        if (!isset(self::$renderers[$id])) {
            throw new \InvalidArgumentException("no such renderer: ".$id);
        }
        return self::$renderers[$id];
    }
private static function getRenderer ( $ id ) { if ( ! isset ( self :: $ renderers [ $ id ] ) ) { throw new \ InvalidArgumentException ( "no such renderer: " . $ id ) ; } return self :: $ renderers [ $ id ] ; }
Finds the renderer registered with the given id.

@param string $id The id of a registered renderer instance.

@return Renderers\SVGRenderer The requested renderer.
@throws \InvalidArgumentException If no such renderer exists.
Finds the renderer registered with the given id .