protected function loadLayout() { if (!$this->layout_loaded) { event(new LoadBackend($this)); parent::loadLayout(); $this->layout_loaded = true; } }
protected function loadLayout() { event(new LoadFrontend($this)); parent::loadLayout(); }