bavix/laravel-wallet

View on GitHub
src/Internal/Assembler/TransactionQueryAssembler.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

declare(strict_types=1);

namespace Bavix\Wallet\Internal\Assembler;

use Bavix\Wallet\Internal\Query\TransactionQuery;
use Bavix\Wallet\Internal\Query\TransactionQueryInterface;

final class TransactionQueryAssembler implements TransactionQueryAssemblerInterface
{
    /**
     * @param non-empty-array<int|string, string> $uuids
     */
    public function create(array $uuids): TransactionQueryInterface
    {
        return new TransactionQuery($uuids);
    }
}