Neuron-PHP

Updater
in package
implements IEventUpdater

Event update service.

Table of Contents

Interfaces

IEventUpdater
Event updater service interface

Properties

$_categoryRepository  : IEventCategoryRepository
$_eventRepository  : IEventRepository

Methods

__construct()  : mixed
update()  : Event
Update an event from DTO

Properties

Methods

update()

Update an event from DTO

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

DTO containing id and event data

Tags
throws
RuntimeException

if event not found, slug already exists, or category not found

Return values
Event

        
On this page

Search results