Interface CustomerReaderInterface
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
Interfaces |
filterCustomers(array $conditions = array(), \Pager|null $pager = null, array $sorters = array()) : array
Example: $repository->filterCustomers('customers_id' => 1);
arrayAssociative array containing the desired field and value.
array(Optional) array of Sorter objects with data sorting information
arrayReturns an array that contains customer objects.
findById(\IdType $id) : \Customer|null
findGuestByEmail(\CustomerEmailInterface $email) : \Customer|null
findRegistreeByEmail(\CustomerEmailInterface $email) : \Customer|null
getFilterCustomersCount(array $conditions = array()) : integer
Example: $reader->filterCustomers( array('customers_id' => 1) );
arrayAssociative array containing the desired field and value.
integerReturns the total customers count.
searchCustomers(\CustomerSearchCondition $condition, \Pager|null $pager = null, array $sorters = array()) : array
array(Optional) array of Sorter objects with data sorting information
arrayReturns an array that contains customer objects.