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

38 lines
410 B
PHP
Executable File

<?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;
}