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

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

Get the evaluated contents of the object.
public render ( ) : string
Результат string
    public function render()
    {
        /**
         * @var EditorHandler $handler
         */
        $handler = app('xe.editor');
        $editors = $handler->getAll();
        $selected = $handler->get($this->instanceId);
        return view('editor.section', ['instanceId' => $this->instanceId, 'editors' => $editors, 'selected' => $selected]);
    }