Created
July 29, 2020 09:14
-
-
Save introqt/d3cd8393f367c7b14035ac62271aa9ad to your computer and use it in GitHub Desktop.
Revisions
-
introqt created this gist
Jul 29, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ <?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; }