Class AgreementAccessRepository

Class AgreementAccessRepository

AgreementAccessRepository implements AgreementAccessRepositoryInterface

Methods summary

public __construct( AgreementFactory $factory, AgreementReaderInterface $reader )

ReviewAccessRepository constructor.

public getAll( void ) : AgreementCollection

Returns all agreement entities as an array.

public getById( IdType $id ) : Agreement

Returns an agreement entity by the provided id.

public getAgreementsByCustomerEmail( StringType $customerEmail ) : AgreementCollection

Returns the agreements by the provided customer email address.

Properties summary