WithdrawalFilterService
in package
implements
WithdrawalFilterService
Class WithdrawalService
Interfaces, Classes and Traits
- WithdrawalFilterService
- Interface WithdrawalFilterService
Table of Contents
- $factory : WithdrawalFilterFactory
- $repository : WithdrawalRepository
- __construct() : mixed
- WithdrawalFilterService constructor.
- filterWithdrawals() : Withdrawals
- Returns a filtered and paginated collection of withdrawals based on the given filter and sorting arguments.
- getWithdrawalsTotalCount() : int
- Returns total count of withdrawals based on the given filter arguments.
Properties
$factory
private
WithdrawalFilterFactory
$factory
$repository
private
WithdrawalRepository
$repository
Methods
__construct()
WithdrawalFilterService constructor.
public
__construct(WithdrawalRepository $repository, WithdrawalFilterFactory $factory) : mixed
Parameters
- $repository : WithdrawalRepository
- $factory : WithdrawalFilterFactory
Return values
mixed —filterWithdrawals()
Returns a filtered and paginated collection of withdrawals based on the given filter and sorting arguments.
public
filterWithdrawals(array<string|int, mixed> $filters[, string|null $sorting = null ][, int $limit = 25 ], int $offset) : Withdrawals
Parameters
- $filters : array<string|int, mixed>
- $sorting : string|null = null
- $limit : int = 25
- $offset : int
Tags
Return values
Withdrawals —getWithdrawalsTotalCount()
Returns total count of withdrawals based on the given filter arguments.
public
getWithdrawalsTotalCount(array<string|int, mixed> $filters) : int
Parameters
- $filters : array<string|int, mixed>