public function setModel(Model $model)
    {
        if (($content = $this->getContent()) instanceof WithModelInterface) {
            $content->setModel($model);
        }

        return $this;
    }
public function setModel(Model $model)
    {
        if (($content = $this->getContent()) instanceof WithModelInterface) {
            $content->setModel($model);
        }

        return $this;
    }
public function setModel ( Model $ model ) { if ( ( $ content = $ this -> getContent ( ) ) instanceof WithModelInterface ) { $ content -> setModel ( $ model ) ; } return $ this ; }
Set currently rendered instance.

@param Model $model

@return $this
Set currently rendered instance .