first change
This commit is contained in:
15
Modules/Content/app/Interfaces/ContentCategoryInterface.php
Normal file
15
Modules/Content/app/Interfaces/ContentCategoryInterface.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Content\Interfaces;
|
||||
|
||||
interface ContentCategoryInterface
|
||||
{
|
||||
public function findAll();
|
||||
public function getContentCategoryById($ContentCategoryId);
|
||||
public function getContentCategoryList();
|
||||
public function create(array $ContentCategoryDetails);
|
||||
public function update($ContentCategoryId, array $newDetails);
|
||||
public function delete($ContentCategoryId);
|
||||
public function pluck();
|
||||
public function count();
|
||||
}
|
18
Modules/Content/app/Interfaces/ContentInterface.php
Normal file
18
Modules/Content/app/Interfaces/ContentInterface.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Content\Interfaces;
|
||||
|
||||
interface ContentInterface
|
||||
{
|
||||
public function findAll();
|
||||
public function findAllUpcomingScheduledContent();
|
||||
public function getContentById($ContentId);
|
||||
public function getContentByEmail($email);
|
||||
public function delete($ContentId);
|
||||
public function create($ContentDetails);
|
||||
public function update($ContentId, array $newDetails);
|
||||
public function pluck();
|
||||
public function count();
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user