Class ProductRepositoryReader
category |
System |
---|---|
package |
Product |
subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \ProductFactoryInterface $productFactory, \CustomerStatusProviderInterface $customerStatusProvider)
\CI_DB_query_builder
\ProductFactoryInterface
\CustomerStatusProviderInterface
getById(\IdType $productId) : \StoredProductInterface
Throws |
|
---|
\StoredProductInterface
Product entity with the expected product id.
getProductsCount() : integer
integer