ReviewFactory

Class ReviewFactory

category

System

package

Review

subpackage

Factories

Methods

ReviewFactory constructor.

__construct(\ReviewRepositoryInterface $repository) 

Arguments

Returns new instances of review collections.

createCollection() : \ReviewCollection

Returns a new instance of reviewCustomer.

createCustomer(\IntType $customerId, \StringType $customerName) : \ReviewCustomer

Arguments

$customerId

\IntType

$customerName

\StringType

Response

\ReviewCustomer

Returns new instances of withdrawal entities.

createEntity() : \Review

Response

\Review

Properties

repository

repository : \ReviewRepository
var

Type(s)

\ReviewRepository