CourseWork/app/Services/ServiceInterface.php

17 lines
275 B
PHP
Raw Normal View History

2024-04-23 14:52:49 +04:00
<?php
namespace App\Services;
2024-05-06 17:47:25 +04:00
use Illuminate\Database\Eloquent\Model;
2024-04-23 14:52:49 +04:00
interface ServiceInterface
{
public function getAll();
2024-05-27 16:57:28 +04:00
public function create(array $data);
2024-04-23 14:52:49 +04:00
2024-05-27 16:57:28 +04:00
public function update(Model $model, array $data);
2024-04-23 14:52:49 +04:00
2024-05-06 17:47:25 +04:00
public function delete(Model $model);
2024-04-23 14:52:49 +04:00
}