Class ProductSettingsRepositoryReader
category |
System |
---|---|
package |
Product |
subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \ProductFactoryInterface $productFactory, \CustomerStatusProviderInterface $customerStatusProvider)
\CI_DB_query_builder
Database connection.
_createProductByArray(array $data) : \GXEngineProduct
Throws |
|
---|
array
Product data.
\GXEngineProduct
Same instance for chained method calls.
_setGroupPermissions(array $product, array $groupPermissionIds, \ProductSettingsInterface $productSettings) : \CategorySettingsRepositoryReader
array
The fetched product array from the database.
array
Array of available group permission.
\CategorySettingsRepositoryReader
Same instance for chained method calls.
getById(\IdType $productId) : \ProductSettingsInterface
Throws |
|
---|
\ProductSettingsInterface
Entity with product settings for the expected product id.
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
customerStatusProvider : \CustomerStatusProviderInterface