src/Repositories/Contracts/ConsultationRepositoryContract.php
<?php
namespace EscolaLms\Consultations\Repositories\Contracts;
use EscolaLms\Consultations\Models\Consultation;
use EscolaLms\Core\Repositories\Contracts\BaseRepositoryContract;
use Illuminate\Database\Eloquent\Builder;
interface ConsultationRepositoryContract extends BaseRepositoryContract
{
public function allQueryBuilder(array $search = [], array $criteria = []): Builder;
public function updateModel(Consultation $consultation, array $data): Consultation;
public function getBoughtConsultationsByQuery(Builder $query): Builder;
public function forCurrentUser(array $search = [], array $criteria = []): Builder;
}