public function build() { parent::build(); $this->buildInternal(); $this->layout->startCapture('header_content'); $this->displayHeaderContent(); $this->layout->endCapture(); $this->layout->startCapture('sidebar_content'); $this->displaySidebarContent(); $this->layout->endCapture(); $this->layout->startCapture('content'); Pinhole::displayAd($this->app, 'top'); $this->displayContent(); Pinhole::displayAd($this->app, 'bottom'); $this->layout->endCapture(); }