phpDocumentor

DSGVORepository implements DSGVORepository

Class DSGVORepository

Interfaces, Classes and Traits

DSGVORepository
Interface DSGVORepository

Table of Contents

$connection  : Connection
__construct()  : mixed
DSGVORepository constructor.
getAdminActivityLog()  : AdminLog
getEmail()  : string
Returns the email address of the currently logged in customer.
getEmailFor()  : string
Fetches the email address that is attached to the given customer id.

Properties

Methods

__construct()

DSGVORepository constructor.

public __construct(Connection $connection) : mixed
Parameters
$connection : Connection
Return values
mixed

getEmail()

Returns the email address of the currently logged in customer.

private getEmail(int $customerId) : string

Consecutive calls fetches the address from the session.

Parameters
$customerId : int
Return values
string

getEmailFor()

Fetches the email address that is attached to the given customer id.

private getEmailFor(int $customerId) : string
Parameters
$customerId : int
Return values
string

Search results