| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | protected static function moduleIdOfThisClass(): string |
||
| 34 | { |
||
| 35 | if (is_a_concord_module_class(static::class)) { |
||
| 36 | return ModuleIdGenerator::idOfClass(static::class, static::getConvention()); |
||
| 37 | } |
||
| 38 | |||
| 39 | throw new \LogicException( |
||
| 40 | 'The %s class does not implement the %s interface', |
||
| 41 | static::class, |
||
|
|
|||
| 42 | Module::class, |
||
| 43 | ); |
||
| 46 |