AgreementWriter

Implements \AgreementWriterInterface

Class AgreementWriter

category

System

package

Agreement

subpackage

Repositories

Methods

AgreementWriter constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Saves an agreement entity.

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

Arguments

$agreement

\AgreementInterface

Agreement entity to be saved.

Response

$this|\AgreementWriterInterface

Same instance for chained method calls.

Updates an agreement entity.

update(\AgreementInterface $agreement) : $this|\AgreementWriterInterface

Arguments

$agreement

\AgreementInterface

Agreement to be updated.

Response

$this|\AgreementWriterInterface

Same instance for chained method calls.

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder