portal.mkgtu.ru/common/components/changeHistoryHandler/actions/SaveAction.php

15 lines
480 B
PHP
Raw Normal View History

2024-03-28 09:51:45 +03:00
<?php
namespace common\components\changeHistoryHandler\actions;
use common\components\ChangeHistoryManager;
use common\modules\abiturient\models\bachelor\changeHistory\ChangeHistoryEntityClass;
class SaveAction extends BaseAction
{
public function persistChangeDetails(ChangeHistoryEntityClass $changeEntity): array
{
return ChangeHistoryManager::persistChangeHistoryEntityInputs($changeEntity, $this->getHandler()->getEntity(), !$this->getIsInsert());
}
}