ManufacturerReader

Implements \ManufacturerReaderInterface

Class ManufacturerReader

category

System

package

Manufacturer

subpackage

Repositories

Methods

ManufacturerReader constructor.

__construct(\CI_DB_query_builder $query_builder) 

Arguments

$query_builder

\CI_DB_query_builder

Returns all manufacturer entities data as array.

getAll() : array

Response

array

Returns manufacturer entity data by the given id.

getById(\IdType $manufacturerId) : array
Throws
\EntityNotFoundException

If no record was found with provided manufacturer entity id.

Arguments

$manufacturerId

\IdType

Response

array

Maps the raw db data into a pattern that can be used in the repository.

mapRawData( $rawData) : array

Arguments

$rawData

Response

array

Properties

queryBuilder

queryBuilder : \\CI_DB_query_builder
var

Type(s)

\\CI_DB_query_builder