function setRenderer($renderer)
    {
        if (!$renderer instanceof iViewRenderer && !is_callable($renderer))
            throw new \InvalidArgumentException(sprintf(
                'Renderer must extend of (iViewRenderer) or callable. given: (%s)'
                , \Poirot\Std\flatten($renderer)
            ));

        $this->renderer = $renderer;
        return $this;
    }
function setRenderer($renderer)
    {
        if (!$renderer instanceof iViewRenderer && !is_callable($renderer))
            throw new \InvalidArgumentException(sprintf(
                'Renderer must extend of (iViewRenderer) or callable. given: (%s)'
                , \Poirot\Std\flatten($renderer)
            ));

        $this->renderer = $renderer;
        return $this;
    }
function setRenderer ( $ renderer ) { if ( ! $ renderer instanceof iViewRenderer && ! is_callable ( $ renderer ) ) throw new \ InvalidArgumentException ( sprintf ( 'Renderer must extend of (iViewRenderer) or callable. given: (%s)' , \ Poirot \ Std \ flatten ( $ renderer ) ) ) ; $ this -> renderer = $ renderer ; return $ this ; }
Set Iso Renderer

Closure Renderer:
- function(string $templatePathName, array $viewVars)

@param iViewRenderer|\Closure|callable $renderer

@return $this
Set Iso Renderer