34 lines
805 B
PHP
34 lines
805 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace KTXF\Resource\Documents\Entity;
|
|
|
|
use KTXF\Resource\Provider\Node\NodePropertiesBaseInterface;
|
|
|
|
interface EntityPropertiesBaseInterface extends NodePropertiesBaseInterface {
|
|
|
|
public const JSON_TYPE = 'document:file';
|
|
public const JSON_PROPERTY_LABEL = 'label';
|
|
public const JSON_PROPERTY_SIZE = 'size';
|
|
public const JSON_PROPERTY_MIME = 'mime';
|
|
public const JSON_PROPERTY_FORMAT = 'format';
|
|
public const JSON_PROPERTY_ENCODING = 'encoding';
|
|
|
|
public function size(): int;
|
|
|
|
public function getLabel(): string;
|
|
|
|
public function getMime(): string;
|
|
|
|
public function getFormat(): string;
|
|
|
|
public function getEncoding(): string;
|
|
|
|
}
|