Created
July 29, 2020 09:14
-
-
Save introqt/d3cd8393f367c7b14035ac62271aa9ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Modules\Home\Services; | |
use Illuminate\Database\Eloquent\Collection; | |
use Modules\Home\Entities\ArticleOnMain; | |
use Modules\Home\Entities\SeasonalOffer; | |
use Modules\Home\Entities\ProductCategoryOnMain; | |
use Modules\Home\Entities\Slider; | |
use App\Models\Page; | |
/** | |
* Interface HomePageInterface | |
* @package Modules\Home\Services | |
*/ | |
interface HomePageInterface | |
{ | |
/** | |
* @return Collection|SeasonalOffer[] | |
*/ | |
public function getSeasonalOffers(): Collection; | |
/** | |
* @return Collection|ArticleOnMain[] | |
*/ | |
public function getArticles(): Collection; | |
/** | |
* @return Collection|ProductCategoryOnMain | |
*/ | |
public function getProductCategories(): Collection; | |
/** | |
* @return Collection|Slider[] | |
*/ | |
public function getSliders(): Collection; | |
/** | |
* @return Page | |
*/ | |
public function getPage(): Page; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment