App\Http\Sections\WidgetSection::render PHP Метод

render() публичный Метод

Get the evaluated contents of the object.
public render ( ) : string
Результат string
    public function render()
    {
        /**
         * @var WidgetHandler @widgetHandler
         */
        $widgetHandler = app('xe.widget');
        $widgets = $widgetHandler->getAll();
        return View::make('widget.list', ['widgets' => $widgets, 'targetId' => $this->targetId]);
    }