AgreementReader

Implements \AgreementReaderInterface

Class AgreementReader

category

System

package

Agreement

subpackage

Repositories

Methods

AgreementReader constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Returns the agreements by the provided customer email address.

getAgreementsByCustomerEmail(\StringType $customerEmailAddress) : array

Arguments

$customerEmailAddress

\StringType

Response

array

Returns all agreement entities as an array.

getAll() : array

Response

array

Returns an agreement entity by the provided id.

getById(\IdType $id) : array
Throws
\EntityNotFoundException

Arguments

$id

\IdType

Response

array

Properties