| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait JsonApiSerializerDeserializerTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param mixed $element |
||
| 11 | * |
||
| 12 | * @return bool |
||
| 13 | */ |
||
| 14 | abstract protected static function isReference($element): bool; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param mixed $element |
||
| 18 | * @param bool $all |
||
| 19 | * |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | 4 | private static function isArrayOfReference($element, bool $all = true): bool |
|
| 46 |