original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Set Iso Renderer
  
  Closure Renderer:
  - function(string $templatePathName, array $viewVars)
  
  @param iViewRenderer|\Closure|callable $renderer
  
  @return $this
docstring_tokens: Set Iso Renderer