Files
exchange-2.0/app/Classes/Modules/Accounting/Services/ListsBankStatementTransactions.php

34 lines
738 B
PHP

<?php
namespace App\Classes\Modules\Accounting\Services;
use App\Classes\General\Eloquent\AbstractListRecord;
use App\Models\StatementTransaction;
use Illuminate\Database\Eloquent\Builder;
use App\Models\StatementTransactionOwner;
class ListsBankStatementTransactions extends AbstractListRecord
{
/** @var StatementTransaction */
private $repository;
/**
* ListsBankStatementDetails constructor.
* @param StatementTransaction $repository
*/
public function __construct(StatementTransaction $repository)
{
$this->repository = $repository;
}
/**
* @return Builder
*/
public function getRepository(): Builder
{
return $this->repository->newQuery();
}
}