Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 83.33% |
Changes | 0 |
1 | <?php |
||
11 | final class HierarchyDiscriminatorResolver |
||
12 | { |
||
13 | private function __construct() |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * This method is needed to make INSTANCEOF work correctly with inheritance: if the class at hand has inheritance, |
||
19 | * it extracts all the discriminators from the child classes and returns them |
||
20 | */ |
||
21 | 14 | public static function resolveDiscriminatorsForClass( |
|
42 |