AgreementAccessRepository

Implements \AgreementAccessRepositoryInterface

Class AgreementAccessRepository

category

System

package

Agreement

subpackage

Repositories

Methods

ReviewAccessRepository constructor.

__construct(\AgreementFactory $factory, \AgreementReaderInterface $reader) 

Arguments

Creates a AgreementCustomer by the provided array.

_createCustomer(array $dataSet) : \AgreementCustomer

Arguments

$dataSet

array

Response

\AgreementCustomer

Returns the agreements by the provided customer email address.

getAgreementsByCustomerEmail(\StringType $customerEmail) : \AgreementCollection

Arguments

$customerEmail

\StringType

Response

\AgreementCollection

Returns all agreement entities as an array.

getAll() : \AgreementCollection

Returns an agreement entity by the provided id.

getById(\IdType $id) : \Agreement

Arguments

$id

\IdType

Response

\Agreement

Properties

factory

factory : \AgreementFactory
var

Type(s)

\AgreementFactory

reader

reader : \AgreementReaderInterface