phpDocumentor

CustomerFilterService implements CustomerFilterService

Class CustomerFilterService

Interfaces, Classes and Traits

CustomerFilterService
Interface CustomerFilterService

Table of Contents

$factory  : CustomerFilterFactory
$repository  : CustomerRepository
__construct()  : mixed
filterCustomers()  : Customers
Returns a filtered and paginated collection of customers based on the given filter and sorting arguments.
getCustomersTotalCount()  : int
Returns total count of customers based on the given filter arguments.

Properties

Methods

filterCustomers()

Returns a filtered and paginated collection of customers based on the given filter and sorting arguments.

public filterCustomers(array<string|int, mixed> $filters[, string|null $sorting = null ][, int $limit = 25 ], int $offset) : Customers
Parameters
$filters : array<string|int, mixed>
$sorting : string|null = null
$limit : int = 25
$offset : int
Tags
inheritDoc
Return values
Customers

getCustomersTotalCount()

Returns total count of customers based on the given filter arguments.

public getCustomersTotalCount(array<string|int, mixed> $filters) : int
Parameters
$filters : array<string|int, mixed>
Tags
inheritDoc
Return values
int

Search results