In Laravel 4, my controller uses a Blade layout:
class PagesController extends BaseController { protected $layout = \
if you want to get the variables of sections you can pay like this:
$_view = new \View; $_sections = $_view->getFacadeRoot()->getSections(); dd($_sections); /* Out: array:1 [▼ "title" => "Painel" ] */