Neuron-PHP

Updater implements IEventCategoryUpdater

Event category update service.

Table of Contents

Interfaces

IEventCategoryUpdater
Event category update service interface

Properties

$_repository  : IEventCategoryRepository

Methods

__construct()  : mixed
update()  : EventCategory
Update an event category from DTO

Properties

Methods

update()

Update an event category from DTO

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

DTO containing id and category data

Tags
throws
RuntimeException

if category not found or slug already exists

Return values
EventCategory

        
On this page

Search results