New-OMIS/Modules/Admin/app/Repositories/EventInterface.php

13 lines
294 B
PHP

<?php
namespace Modules\Admin\Repositories;
interface EventInterface
{
public function findAll();
public function getEventById($eventId);
public function delete($eventId);
public function create(array $eventDetails);
public function update($eventId, array $newDetails);
}