13 lines
286 B
PHP
13 lines
286 B
PHP
<?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);
|
|
}
|