src/Layout.php
public function render(Page $page)
    {
        return $this->doRender(
            $this->getRawContent(),
            $this->getAttributes() + ['content' => $page->getRenderedContent()]
        );
    }
public function render(Page $page)
    {
        return $this->doRender(
            $this->getRawContent(),
            $this->getAttributes() + ['content' => $page->getRenderedContent()]
        );
    }
public function render ( Page $ page ) { return $ this -> doRender ( $ this -> getRawContent ( ) , $ this -> getAttributes ( ) + [ 'content' => $ page -> getRenderedContent ( ) ] ) ; }
Render the layout with a given Page.

@param Page $page

@return string
Render the layout with a given Page .