| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | trait ServicesTrait |
||
| 27 | { |
||
| 28 | // Public Static Methods |
||
| 29 | // ========================================================================= |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritdoc |
||
| 33 | */ |
||
| 34 | public static function config(): array |
||
| 40 | ], |
||
| 41 | ]; |
||
| 42 | } |
||
| 43 | |||
| 44 | // Public Methods |
||
| 45 | // ========================================================================= |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Returns the helper service |
||
| 49 | * |
||
| 50 | * @return HelperService The helper service |
||
| 51 | * @throws InvalidConfigException |
||
| 52 | */ |
||
| 53 | public function getHelper(): HelperService |
||
| 54 | { |
||
| 55 | return $this->get('helper'); |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Returns the vite service |
||
| 60 | * |
||
| 61 | * @return ViteService The helper service |
||
| 62 | * @throws InvalidConfigException |
||
| 63 | */ |
||
| 64 | public function getVite(): ViteService |
||
| 67 | } |
||
| 68 | } |
||
| 69 |