EscolaLMS/Consultations

View on GitHub
src/Repositories/Contracts/ConsultationRepositoryContract.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?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;
}