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

38 lines
410 B
PHP
Raw Normal View History

2024-03-28 09:51:45 +03:00
<?php
namespace common\models\interfaces;
use yii\db\ActiveQuery;
interface AttachmentInterface
{
public function getFileDownloadUrl(): ?string;
public function getFileDeleteUrl(bool $make_redirect = false): ?string;
public function getExtension(): ?string;
public function getAttachmentTypeName(): string;
public function getEntity(): ?ActiveQuery;
}