Neuron-PHP

Updater
in package
implements IPageUpdater

Page update service.

Updates existing pages with validation.

Table of Contents

Interfaces

IPageUpdater
Page updater service interface

Properties

$_pageRepository  : IPageRepository

Methods

__construct()  : mixed
update()  : Page
Update an existing page from DTO

Properties

Methods

update()

Update an existing page from DTO

public update(Dto $request) : Page
Parameters
$request : Dto

DTO containing id, title, content, status, slug, template, meta_title, meta_description, meta_keywords

Tags
throws
Exception

If page not found

Return values
Page

Updated page


        
On this page

Search results