src/Controller.php
public function disableRendering($disable = true)
    {
        $this->request = $this->request->withAttribute('render', !$disable);
        return $this;
    }
public function disableRendering($disable = true)
    {
        $this->request = $this->request->withAttribute('render', !$disable);
        return $this;
    }
public function disableRendering ( $ disable = true ) { $ this -> request = $ this -> request -> withAttribute ( 'render' , ! $ disable ) ; return $ this ; }
Enables or disables rendering

@param bool $disable
@return ControllerInterface|self|$this
Enables or disables rendering