| Total Complexity | 2 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | class CodeField extends Plugin |
||
| 31 | { |
||
| 32 | // Static Properties |
||
| 33 | // ========================================================================= |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var CodeField |
||
| 37 | */ |
||
| 38 | public static ?CodeField $plugin = null; |
||
| 39 | |||
| 40 | // Public Properties |
||
| 41 | // ========================================================================= |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | public string $schemaVersion = '1.0.0'; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var bool |
||
| 50 | */ |
||
| 51 | public bool $hasCpSettings = false; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var bool |
||
| 55 | */ |
||
| 56 | public bool $hasCpSection = false; |
||
| 57 | |||
| 58 | // Public Methods |
||
| 59 | // ========================================================================= |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @inheritdoc |
||
| 63 | */ |
||
| 64 | public function init() |
||
| 96 |