Files
eatvio-infra/app/Services/Strategy/Criteried/CriteriaStrategy.php

16 lines
370 B
PHP

<?php
namespace App\Services\Strategy\Criteried;
use App\Models\BlogPost;
use App\Models\Recipe;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\MorphToMany;
interface CriteriaStrategy
{
public function getBlogPosts(): Builder|BlogPost|MorphToMany|array;
public function getRecipes(): Builder|Recipe|MorphToMany|array;
}