phpDocumentor

CustomerReadService implements CustomerReadService

Class CustomerReadService

Interfaces, Classes and Traits

CustomerReadService
Interface CustomerReadService

Table of Contents

$factory  : CustomerFactory
$repository  : CustomerRepository
__construct()  : mixed
getCustomerById()  : Customer
Returns a specific customer based on the given ID.
getCustomers()  : Customers
Returns all available customers.
getGuestAccounts()  : Customers
Returns all available customers that are guest accounts.
validateEmailAddress()  : true
Checks if an email address is valid in its self or is already taken by another customer

Properties

Methods

getCustomerById()

Returns a specific customer based on the given ID.

public getCustomerById(int $id) : Customer
Parameters
$id : int
Tags
inheritDoc
Return values
Customer

validateEmailAddress()

Checks if an email address is valid in its self or is already taken by another customer

public validateEmailAddress(string $email) : true
Parameters
$email : string
Tags
inheritDoc
Return values
true

Search results