Files
server/shared/lib/Documents/Entity/EntityPropertiesBaseInterface.php
2026-07-09 19:31:09 -04:00

34 lines
771 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace KTXF\Documents\Entity;
use KTXF\Resource\Provider\Node\NodePropertiesBaseInterface;
interface EntityPropertiesBaseInterface extends NodePropertiesBaseInterface {
public const JSON_TYPE = 'document:file';
public const PROPERTY_LABEL = 'label';
public const PROPERTY_SIZE = 'size';
public const PROPERTY_MIME = 'mime';
public const PROPERTY_FORMAT = 'format';
public const PROPERTY_ENCODING = 'encoding';
public function size(): int;
public function getLabel(): string;
public function getMime(): string;
public function getFormat(): string;
public function getEncoding(): string;
}