public function render()
    {
        $this->moveChildrenToMainSection();
        $this->getTemplate()
            ->mergeData($this->getData())
            ->mergeData(['layout' => $this]);
        return parent::render();
    }
public function render()
    {
        $this->moveChildrenToMainSection();
        $this->getTemplate()
            ->mergeData($this->getData())
            ->mergeData(['layout' => $this]);
        return parent::render();
    }
public function render ( ) { $ this -> moveChildrenToMainSection ( ) ; $ this -> getTemplate ( ) -> mergeData ( $ this -> getData ( ) ) -> mergeData ( [ 'layout' => $ this ] ) ; return parent :: render ( ) ; }
Renders layout.

@return string rendered layout
Renders layout .