Stevemo\Cpanel\Controllers\BaseController::setupLayout PHP Метод

setupLayout() защищенный Метод

Setup the layout used by the controller.
protected setupLayout ( ) : void
Результат void
    protected function setupLayout()
    {
        if (!is_null($this->layout)) {
            $this->layout = View::make($this->layout);
        }
        //share the config option to all the views
        View::share('cpanel', Config::get('cpanel::site_config'));
    }