AgreementAccessRepository

Implements \AgreementAccessRepositoryInterface

Class AgreementAccessRepository

category

System

package

Agreement

subpackage

Repositories

Methods

ReviewAccessRepository constructor.

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

Arguments

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