return $element;
} /**
* @return Element
*/
private function assignData(array
$data) { $element =
new Element();
$element->
setId((int) $data['__emotionElement_id'
]);
$element->
setEmotionId((int) $data['__emotionElement_emotion_id'
]);
$element->
setComponentId((int) $data['__emotionElement_component_id'
]);
$element->
setStartRow((int) $data['__emotionElement_start_row'
]);
$element->
setEndRow((int) $data['__emotionElement_end_row'
]);
$element->
setStartCol((int) $data['__emotionElement_start_col'
]);
$element->
setEndCol((int) $data['__emotionElement_end_col'
]);
$element->
setCssClass($data['__emotionElement_css_class'
]);
return $element;
} private function assignComponent(Element
$element, array
$data) {