| Total Complexity | 9 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ComplexNumbers |
||
| 13 | { |
||
| 14 | |||
| 15 | public const IMMUTABLE_COMPLEX = ImmutableComplexNumber::class; |
||
| 16 | public const MUTABLE_COMPLEX = MutableComplexNumber::class; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param $type |
||
| 20 | * @param $value |
||
| 21 | * |
||
| 22 | * @return ComplexNumber |
||
| 23 | * @throws IntegrityConstraint |
||
| 24 | */ |
||
| 25 | public static function make($type, $value) |
||
| 54 | } |