master_template/app/Repositories/NewsInterface.php

13 lines
276 B
PHP
Raw Normal View History

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