| Total Complexity | 5 | 
| Total Lines | 36 | 
| Duplicated Lines | 0 % | 
| Coverage | 83.33% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | abstract class Relation implements RelationInterface  | 
            ||
| 8 | { | 
            ||
| 9 | // relation type  | 
            ||
| 10 | protected const TYPE = '';  | 
            ||
| 11 | |||
| 12 | /**  | 
            ||
| 13 | * @param non-empty-string|null $target  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 14 | * @param non-empty-string $load  | 
            ||
| 15 | */  | 
            ||
| 16 | 392 | public function __construct(  | 
            |
| 17 | protected ?string $target,  | 
            ||
| 18 | protected string $load = 'lazy',  | 
            ||
| 19 |     ) { | 
            ||
| 20 | 392 | }  | 
            |
| 21 | |||
| 22 | 392 | public function getType(): string  | 
            |
| 25 | }  | 
            ||
| 26 | |||
| 27 | 392 | public function getTarget(): ?string  | 
            |
| 28 |     { | 
            ||
| 29 | 392 | return $this->target;  | 
            |
| 30 | }  | 
            ||
| 31 | |||
| 32 | public function getLoad(): ?string  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 37 | 392 | public function getOptions(): array  | 
            |
| 45 |