Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class BehaviorAlbum extends Behavior |
||
14 | { |
||
15 | /** |
||
16 | * @param $attributeValue |
||
17 | * @return HasOwnerInterface|null |
||
18 | */ |
||
19 | protected function getChildModel($attributeValue): ?HasOwnerInterface |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param int $ownerId |
||
26 | * @param string $ownerName |
||
27 | * @param string|null $ownerAttribute |
||
28 | * @param bool $removeDependencies |
||
29 | * @return bool |
||
30 | */ |
||
31 | protected function removeOwner(int $ownerId, string $ownerName, string $ownerAttribute = null, bool $removeDependencies = false): bool |
||
36 |