public function save()
{
$EavModel = $this->attributeHandler->owner;
$valueModel = $this->getValueModel();
$attribute = $this->attributeHandler->getAttributeName();
if (isset($EavModel->attributes[$attribute])) {
$valueModel->value = $EavModel->attributes[$attribute];
if (!$valueModel->save()) {
throw new \Exception("Can't save value model");
}
}
}