Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Reference
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2/**
3 * Jingga
4 *
5 * PHP Version 8.1
6 *
7 * @package   Modules\Media\Models
8 * @copyright Dennis Eichhorn
9 * @license   OMS License 2.0
10 * @version   1.0.0
11 * @link      https://jingga.app
12 */
13declare(strict_types=1);
14
15namespace Modules\Media\Models;
16
17/**
18 * Reference class.
19 *
20 * This class represents a reference to a media file. It extends the Media class.
21 *
22 * @package Modules\Media\Models
23 * @license OMS License 2.0
24 * @link    https://jingga.app
25 * @since   1.0.0
26 */
27class Reference extends Media
28{
29    /**
30     * The file extension of the reference file.
31     *
32     * @var string
33     * @since 1.0.0
34     */
35    public string $extension = 'reference';
36
37    /**
38     * The media class of the reference.
39     *
40     * @var int
41     * @since 1.0.0
42     */
43    public int $class = MediaClass::REFERENCE;
44}