master_template/app/Repositories/NewsInterface.php

13 lines
276 B
PHP
Raw Normal View History

2024-06-15 16:38:54 +00:00
<?php
2024-06-23 11:17:56 +00:00
namespace App\Repositories;
2024-06-15 16:38:54 +00:00
interface NewsInterface
{
public function getAll();
public function getNewsById($newsId);
public function delete($newsId);
public function create(array $newsDetail);
public function update($newsId, array $newDetails);
}