public function setTitle($title = null) { if (!$this->exists()) { return parent::setTitle($title); } $title = !empty($title) ? '-' . $title : null; $title = $this->profileUser->fullname . $title; return parent::setTitle($title); }
public function render($path, $param = [], $setting = []) { return parent::render('discover.layout', ['content' => $this->theme->section($path, $param)], $setting); }