ReviewWriter

Implements \ReviewWriterInterface

Class ReviewWriter

category

System

package

Review

subpackage

Repositories

Methods

ReviewWriter constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Saves review entity data in database.

store(\ReviewInterface $review) : $this|\ReviewWriterInterface

Arguments

$review

\ReviewInterface

Review entity to be saved.

Response

$this|\ReviewWriterInterface

Same instance for chained method calls.

Updates review entity data in database.

update(\ReviewInterface $review) : $this|\ReviewWriterInterface

Arguments

$review

\ReviewInterface

Review to be updated.

Response

$this|\ReviewWriterInterface

Same instance for chained method calls.

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder