class AttributeValueFactory

Class AttributeValueFactory. Class responsible for creating and populating AttributeValue

Methods

static AttributeValue
create(array $data, array $mappings)

Create instance for AttributeValue

static AttributeValue
update(Proxy $attribute, array $data, array $mappings)

Populate AttributeValue object

Details

at line 31
static AttributeValue create(array $data, array $mappings)

Create instance for AttributeValue

Parameters

array $data
array $mappings

Return Value

AttributeValue

Exceptions

Exception

at line 50
static AttributeValue update(Proxy $attribute, array $data, array $mappings)

Populate AttributeValue object

Parameters

Proxy $attribute
array $data
array $mappings

Return Value

AttributeValue

Exceptions

Exception