updatea
This commit is contained in:
12
app/Repositories/Interface/ArticleInterface.php
Normal file
12
app/Repositories/Interface/ArticleInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface ArticleInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getArticleById($artilceId);
|
||||
public function delete($artilceId);
|
||||
public function create(array $artilceDetails);
|
||||
public function update($artilceId, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/HoroscopeInterface.php
Normal file
12
app/Repositories/Interface/HoroscopeInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface HoroscopeInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getHoroscopeById($horoscopeId);
|
||||
public function delete($horoscopeId);
|
||||
public function create(array $horoscopeDetails);
|
||||
public function update($horoscopeId, array $newDetails);
|
||||
}
|
9
app/Repositories/Interface/SettingInterface.php
Normal file
9
app/Repositories/Interface/SettingInterface.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface SettingInterface
|
||||
{
|
||||
public function create(array $settingDetails);
|
||||
public function update($settingId, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/TeamsInterface.php
Normal file
12
app/Repositories/Interface/TeamsInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface TeamsInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getTeamById($teamId);
|
||||
public function delete($teamId);
|
||||
public function create(array $teamsDetail);
|
||||
public function update($teamId, array $newDetails);
|
||||
}
|
12
app/Repositories/Interface/VideosInterface.php
Normal file
12
app/Repositories/Interface/VideosInterface.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Interface;
|
||||
|
||||
interface VideosInterface
|
||||
{
|
||||
public function getAll();
|
||||
public function getVideoById($videoId);
|
||||
public function delete($videoId);
|
||||
public function create(array $videoDetails);
|
||||
public function update($videoId, array $newDetails);
|
||||
}
|
Reference in New Issue
Block a user