NewsletterReader
in package
Class NewsletterReader
Table of Contents
- $connection : Connection
- __construct() : mixed
- getSubscribedCustomers() : array<string|int, mixed>
- isCustomerSubscribed() : bool
- createQuery() : QueryBuilder
Properties
$connection
private
Connection
$connection
Methods
__construct()
public
__construct(Connection $connection) : mixed
Parameters
- $connection : Connection
Return values
mixed —getSubscribedCustomers()
public
getSubscribedCustomers() : array<string|int, mixed>
Return values
array<string|int, mixed> —isCustomerSubscribed()
public
isCustomerSubscribed(CustomerId $customerId) : bool
Parameters
- $customerId : CustomerId
Return values
bool —createQuery()
private
createQuery() : QueryBuilder