| Total Complexity | 3 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 62.5% |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 8 | abstract class AbstractRelation |
||
| 9 | { |
||
| 10 | use HasLinks; |
||
| 11 | use HasMeta; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var \Swis\JsonApi\Client\Interfaces\DataInterface|null |
||
| 15 | */ |
||
| 16 | protected $included; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | protected $omitIncluded = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return $this |
||
| 25 | */ |
||
| 26 | 20 | public function dissociate() |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param bool $omitIncluded |
||
| 35 | * |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function setOmitIncluded(bool $omitIncluded) |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return bool |
||
| 47 | */ |
||
| 48 | 35 | public function shouldOmitIncluded(): bool |
|
| 53 |