Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
MediaClass | 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 | */ |
13 | declare(strict_types=1); |
14 | |
15 | namespace Modules\Media\Models; |
16 | |
17 | /** |
18 | * Represents the type/class of media in the application. |
19 | * |
20 | * @package Modules\Media\Models |
21 | * @license OMS License 2.0 |
22 | * @link https://jingga.app |
23 | * @since 1.0.0 |
24 | */ |
25 | use phpOMS\Stdlib\Base\Enum; |
26 | |
27 | /** |
28 | * Media class enum. |
29 | * |
30 | * Used to differentiate the type/class of media |
31 | * |
32 | * @package phpOMS\DataStorage\Database |
33 | * @license OMS License 2.0 |
34 | * @link https://jingga.app |
35 | * @since 1.0.0 |
36 | */ |
37 | abstract class MediaClass extends Enum |
38 | { |
39 | public const FILE = 1; |
40 | |
41 | public const COLLECTION = 2; |
42 | |
43 | public const REFERENCE = 3; |
44 | |
45 | public const SYSTEM_FILE = 4; |
46 | |
47 | public const SYSTEM_DIRECTORY = 5; |
48 | } |