<?php

namespace App\Modules\InvoiceDetail\Infrastructure;

use App\Modules\InvoiceDetail\Domain\InvoiceDetailRepository;
use App\Modules\Shared\Domain\Storage\Criteria\ConcreteStorageCriteria;
use App\Modules\Shared\Infraestructure\Storage\Criteria\LaravelCriteriaMatcher;

class MysqlInvoiceDetailRepository implements InvoiceDetailRepository
{
    public function find(ConcreteStorageCriteria $criteria)
    {
        return LaravelCriteriaMatcher::match($criteria);
    }
}
