$group =
new PropertyGroup();
$group->
setId($data['id'
]);
$group->
setName($data['name'
]);
$group->
setFilterable($data['filterable'
]);
$me =
$this;
$options =
array_map(function D
$temp) use ($me) { return $me->
createPropertyOption($temp);
},
$data['options'
]);
$group->
setOptions($options);
$group->
addAttributes($this->
createAttributes($data['attributes'
]));
return $group;
} /**
* @param array $data
*
* @return PropertyOption
*/
public function createPropertyOption($data) {