ManufacturerReadService

Implements \ManufacturerReadServiceInterface

Class ManufacturerReadService

category

System

package

Manufacturer

Methods

ManufacturerReadService constructor.

__construct(\ManufacturerRepositoryInterface $repository) 

Arguments

Returns manufacturer entities as collection.

getAll() : \ManufacturerCollection

Returns manufacturer entity by given id.

getById(\IdType $manufacturerId) : \ManufacturerInterface

Arguments

$manufacturerId

\IdType

Response

\ManufacturerInterface

Properties

repository

repository : \ManufacturerRepositoryInterface