Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | trait IDRefTrait |
||
13 | { |
||
14 | /*********************************************************************************** |
||
15 | * NOTE: Custom assertions may be added below this line. * |
||
16 | * They SHOULD be marked as `protected` to ensure the call is forced * |
||
17 | * through __callStatic(). * |
||
18 | * Assertions marked `public` are called directly and will * |
||
19 | * not handle any custom exception passed to it. * |
||
20 | ***********************************************************************************/ |
||
21 | |||
22 | |||
23 | /** |
||
24 | * @param string $value |
||
25 | * @param string $message |
||
26 | */ |
||
27 | protected static function validIDRef(string $value, string $message = ''): void |
||
36 |