DaffInMemoryBackendProductService

An in-memory service that stubs out the backend services for getting products.

@Param productFactory: DaffProductFactory instance @Param productImageFactory: DaffProductImageFactory instance @Param products: An array of Products

Properties

Name Type Description
_products DaffProduct[]
products DaffProduct[] The collection of products in the backend.
get Returns products based on the url given.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.