Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
Controller | 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\CMS |
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\CMS\Controller; |
16 | |
17 | use phpOMS\Module\ModuleAbstract; |
18 | |
19 | /** |
20 | * CMS class. |
21 | * |
22 | * @package Modules\CMS |
23 | * @license OMS License 2.0 |
24 | * @link https://jingga.app |
25 | * @since 1.0.0 |
26 | */ |
27 | class Controller extends ModuleAbstract |
28 | { |
29 | /** |
30 | * Module path. |
31 | * |
32 | * @var string |
33 | * @since 1.0.0 |
34 | */ |
35 | public const PATH = __DIR__ . '/../'; |
36 | |
37 | /** |
38 | * Module version. |
39 | * |
40 | * @var string |
41 | * @since 1.0.0 |
42 | */ |
43 | public const VERSION = '1.0.0'; |
44 | |
45 | /** |
46 | * Module name. |
47 | * |
48 | * @var string |
49 | * @since 1.0.0 |
50 | */ |
51 | public const NAME = 'CMS'; |
52 | |
53 | /** |
54 | * Module id. |
55 | * |
56 | * @var int |
57 | * @since 1.0.0 |
58 | */ |
59 | public const ID = 1007800000; |
60 | |
61 | /** |
62 | * Localization files. |
63 | * |
64 | * @var string[] |
65 | * @since 1.0.0 |
66 | */ |
67 | public static array $localization = [ |
68 | ]; |
69 | |
70 | /** |
71 | * Providing. |
72 | * |
73 | * @var string[] |
74 | * @since 1.0.0 |
75 | */ |
76 | public static array $providing = [ |
77 | ]; |
78 | |
79 | /** |
80 | * Dependencies. |
81 | * |
82 | * @var string[] |
83 | * @since 1.0.0 |
84 | */ |
85 | public static array $dependencies = []; |
86 | |
87 | /** |
88 | * Protected application names. |
89 | * |
90 | * @var string[] |
91 | * @since 1.0.0 |
92 | */ |
93 | public static array $reservedApplicationNames = ['cli', 'backend', 'api']; |
94 | } |