AgreementRepository

Implements \AgreementRepositoryInterface

Class AgreementRepository

category

System

package

Agreement

subpackage

Repositories

Methods

AgreementRepository constructor.

__construct(\AgreementWriterInterface $writer, \AgreementDeleterInterface $deleter) 

Deletes the provided agreement.

delete(\AgreementInterface $agreement) : $this|\AgreementWriteServiceInterface

Arguments

$agreement

\AgreementInterface

Response

$this|\AgreementWriteServiceInterface

Same instance for chained method calls.

Stores the provided agreement.

store(\AgreementInterface $agreement) : $this|\AgreementWriteServiceInterface

Arguments

$agreement

\AgreementInterface

Response

$this|\AgreementWriteServiceInterface

Same instance for chained method calls.

Properties

writer

writer : \AgreementWriterInterface

deleter

deleter : \AgreementDeleterInterface