progress
This commit is contained in:
12
app/Repositories/Interface/NewsInterface.php
Normal file
12
app/Repositories/Interface/NewsInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface NewsInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getNewsById($newsId);
|
||||
public function delete($newsId);
|
||||
public function create(array $newsDetail);
|
||||
public function update($newsId, array $newDetails);
|
||||
}
|
Reference in New Issue
Block a user