Total Complexity | 9 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Changes | 7 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class AssociationStubPolymorphic extends AssociationStubBase |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | private $morphType; |
||
13 | |||
14 | /** |
||
15 | * @return string |
||
16 | */ |
||
17 | public function getMorphType() : ?string |
||
18 | { |
||
19 | return $this->morphType; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @param string $morphType |
||
24 | */ |
||
25 | public function setMorphType(string $morphType) : void |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param \AlgoWeb\PODataLaravel\Models\ObjectMap\Entities\Associations\AssociationStubBase $otherStub |
||
32 | * |
||
33 | * @return bool |
||
34 | */ |
||
35 | public function isCompatible(AssociationStubBase $otherStub) : bool |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function morphicType() : string |
||
67 |