portal.mkgtu.ru/common/models/interfaces/ILinkedToParentDraft.php

18 lines
402 B
PHP
Raw Permalink Normal View History

2024-03-28 09:51:45 +03:00
<?php
namespace common\models\interfaces;
use common\modules\abiturient\models\interfaces\IDraftable;
use yii\db\ActiveQuery;
interface ILinkedToParentDraft
{
public function getParentDraft(): ?IDraftable;
public function setParentDraft(?IDraftable $draftable): IArchiveWithInitiator;
public function hasChildrenDrafts(): bool;
public function getChildrenDrafts(): ActiveQuery;
}