validate([ 'title' => ['required', 'string', 'max:255'], 'content' => ['required', 'string', 'max:12000'], ]); $service->create($this->title, $this->content); $this->reset(['title', 'content']); $this->dispatch('article-saved'); session()->flash('success', 'Article opgeslagen en embedding wordt automatisch verwerkt.'); } public function render(AdminArticleService $service) { return view('livewire.admin.article-manager', [ 'articles' => $service->paginate(10), ]); } }