master_template/app/Repositories/NewsInterface.php
2024-06-23 17:02:56 +05:45

13 lines
276 B
PHP

<?php
namespace App\Repositories;
interface NewsInterface
{
public function getAll();
public function getNewsById($newsId);
public function delete($newsId);
public function create(array $newsDetail);
public function update($newsId, array $newDetails);
}