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]);
    }