Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | trait GroupAndOwnerAwareTrait |
||
6 | { |
||
7 | /** |
||
8 | * The account owner's ID. |
||
9 | * |
||
10 | * @var int |
||
11 | */ |
||
12 | protected $ownerId; |
||
13 | |||
14 | /** |
||
15 | * The group ID. |
||
16 | * |
||
17 | * @var integer |
||
18 | */ |
||
19 | protected $groupId; |
||
20 | |||
21 | /** |
||
22 | * Returns the groupId. |
||
23 | * |
||
24 | * @return int |
||
25 | */ |
||
26 | final public function getGroupId(): int |
||
27 | { |
||
28 | return $this->groupId; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Returns the ownerId. |
||
33 | * |
||
34 | * @return int |
||
35 | */ |
||
36 | final public function getOwnerId(): int |
||
39 | } |
||
40 | } |
||
41 |