ProductAttributeValuesManager
class ProductAttributeValuesManager implements BasicEntityManagerInterface
Class ProductAttributeValuesManager is injected as alligator.product_attribute_values_manager service. ProductAttributeValuesManager handles the logic for managed entity.
Properties
| protected ProductAttributeValuesRepository | $repository | ||
| protected ProductEventContainer | $eventContainer |
Methods
__construct(ProductAttributeValuesRepository $repository, ProductEventContainer $eventContainer)
No description
findByErpCode(string $code)
Find product attribute values by erp code
array
getAllProductAttributeValueCodes()
Get product attribute values codes
boolean|string
saveMultiple(array $productAttrValues)
Persist new product attribute values from array with custom id
bool|string
updateMultiple(array $productAttrValues)
Merge array of product attribute values
bool|Proxy|null|object
getReference(string $class = ProductAttributeValues::class, int $id = null)
Find entity reference by its class name and id
Details
at line 37
__construct(ProductAttributeValuesRepository $repository, ProductEventContainer $eventContainer)
at line 49
ProductAttributeValues
findByErpCode(string $code)
Find product attribute values by erp code
at line 59
array
getAllProductAttributeValueCodes()
Get product attribute values codes
at line 70
boolean|string
saveMultiple(array $productAttrValues)
Persist new product attribute values from array with custom id
at line 81
bool|string
updateMultiple(array $productAttrValues)
Merge array of product attribute values
at line 95
bool|Proxy|null|object
getReference(string $class = ProductAttributeValues::class, int $id = null)
Find entity reference by its class name and id