REFACTORING: move part of content business logic into repository
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace App\CMS\Contracts\Repositories;
|
||||
|
||||
interface Content extends BaseRepository
|
||||
{
|
||||
const STATUS_DRAFT = 'draft';
|
||||
const STATUS_PROTECTED = 'protected';
|
||||
const STATUS_PUBLIC = 'public';
|
||||
|
||||
public function getOverview($handler = null, $statuses = null);
|
||||
|
||||
public function getHomepage();
|
||||
|
||||
public function getByURL($url);
|
||||
}
|
||||
Reference in New Issue
Block a user