class AttributeFactory

Class AttributeFactory. Class responsible for creating and populating Attribute

Methods

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

Create instance for Attribute

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

Populate User object

Details

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

Create instance for Attribute

Parameters

array $data
array $mappings

Return Value

Attribute

Exceptions

Exception

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

Populate User object

Parameters

Proxy $attribute
array $data
array $mappings

Return Value

Attribute

Exceptions

Exception