progress
This commit is contained in:
12
app/Repositories/Interface/AdvertisementInterface.php
Normal file
12
app/Repositories/Interface/AdvertisementInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface AdvertisementInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getAdvertisementById($id);
|
||||
public function delete($advertisementId);
|
||||
public function create(array $advertisementDetail);
|
||||
public function update($advertisementId, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/AuthorsInterface.php
Normal file
12
app/Repositories/Interface/AuthorsInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface AuthorsInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getAuthorsById($authorId);
|
||||
public function delete($authorId);
|
||||
public function create(array $authorDetail);
|
||||
public function update($authorId, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/EconomyInterface.php
Normal file
12
app/Repositories/Interface/EconomyInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface EconomyInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getId($id);
|
||||
public function delete($id);
|
||||
public function create(array $Details);
|
||||
public function update($id, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/NewsCategoriesInterface.php
Normal file
12
app/Repositories/Interface/NewsCategoriesInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface NewsCategoriesInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getNewsCategoriesById($newsCategoriesId);
|
||||
public function delete($newsCategoriesId);
|
||||
public function create(array $newsCategoriesDetail);
|
||||
public function update($newsCategoriesId, array $newDetails);
|
||||
}
|
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);
|
||||
}
|
12
app/Repositories/Interface/NewsTypeInterface.php
Normal file
12
app/Repositories/Interface/NewsTypeInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface NewsTypeInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getNewsTypeById($newsTypeId);
|
||||
public function delete($newsTypeId);
|
||||
public function create(array $newsTypeDetail);
|
||||
public function update($newsTypeId, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/ProvinceInterface.php
Normal file
12
app/Repositories/Interface/ProvinceInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface ProvinceInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getProvinceById($provinceId);
|
||||
public function delete($provinceId);
|
||||
public function create(array $provinceDetails);
|
||||
public function update($provinceId, array $newDetails);
|
||||
}
|
Reference in New Issue
Block a user