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\Admin |
| 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\Admin\Controller; |
| 16 | |
| 17 | use phpOMS\Module\ModuleAbstract; |
| 18 | |
| 19 | /** |
| 20 | * Admin controller class. |
| 21 | * |
| 22 | * This class is responsible for the basic admin activities such as managing accounts, groups, permissions and modules. |
| 23 | * |
| 24 | * @package Modules\Admin |
| 25 | * @license OMS License 2.0 |
| 26 | * @link https://jingga.app |
| 27 | * @since 1.0.0 |
| 28 | */ |
| 29 | abstract class Controller extends ModuleAbstract |
| 30 | { |
| 31 | /** |
| 32 | * Module path. |
| 33 | * |
| 34 | * @var string |
| 35 | * @since 1.0.0 |
| 36 | */ |
| 37 | public const PATH = __DIR__ . '/../'; |
| 38 | |
| 39 | /** |
| 40 | * Module version. |
| 41 | * |
| 42 | * @var string |
| 43 | * @since 1.0.0 |
| 44 | */ |
| 45 | public const VERSION = '1.0.0'; |
| 46 | |
| 47 | /** |
| 48 | * Module name. |
| 49 | * |
| 50 | * @var string |
| 51 | * @since 1.0.0 |
| 52 | */ |
| 53 | public const NAME = 'Admin'; |
| 54 | |
| 55 | /** |
| 56 | * Module id. |
| 57 | * |
| 58 | * @var int |
| 59 | * @since 1.0.0 |
| 60 | */ |
| 61 | public const ID = 1000100000; |
| 62 | |
| 63 | /** |
| 64 | * Providing. |
| 65 | * |
| 66 | * @var string[] |
| 67 | * @since 1.0.0 |
| 68 | */ |
| 69 | public static array $providing = []; |
| 70 | |
| 71 | /** |
| 72 | * Dependencies. |
| 73 | * |
| 74 | * @var string[] |
| 75 | * @since 1.0.0 |
| 76 | */ |
| 77 | public static array $dependencies = []; |
| 78 | } |