private function setRenderParams(AbstractRenderer $render, $params)
    {
        if (null !== $params) {
            $params = (array) $params;
            foreach ($params as $param => $value) {
                $render->setParam($param, $value);
            }
        }
    }
private function setRenderParams(AbstractRenderer $render, $params)
    {
        if (null !== $params) {
            $params = (array) $params;
            foreach ($params as $param => $value) {
                $render->setParam($param, $value);
            }
        }
    }
private function setRenderParams ( AbstractRenderer $ render , $ params ) { if ( null !== $ params ) { $ params = ( array ) $ params ; foreach ( $ params as $ param => $ value ) { $ render -> setParam ( $ param , $ value ) ; } } }
Set parameters to a renderer object in parameter.

@param AbstractRenderer $render
@param array     $params
Set parameters to a renderer object in parameter .