CustomerServiceAdapter
in package
implements
CustomerServiceAdapterInterface
Class CustomerServiceAdapter
Interfaces, Classes and Traits
Table of Contents
- $customerReaderService : CustomerReadServiceInterface
- __construct() : mixed
- CustomerServiceAdapter constructor.
- getCustomerById() : Customer
Properties
$customerReaderService
protected
CustomerReadServiceInterface
$customerReaderService
Methods
__construct()
CustomerServiceAdapter constructor.
public
__construct(CustomerReadServiceInterface $customerReaderService) : mixed
Parameters
- $customerReaderService : CustomerReadServiceInterface
Return values
mixed —getCustomerById()
public
getCustomerById(int $customerId) : Customer
Parameters
- $customerId : int