Total Complexity | 7 |
Total Lines | 67 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class UserDomain extends DataObject |
||
15 | { |
||
16 | /** @var int */ |
||
17 | private $user; |
||
18 | |||
19 | /** @var int */ |
||
20 | private $domain; |
||
21 | |||
22 | public function save() |
||
48 | } |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return int |
||
53 | */ |
||
54 | public function getUser(): int |
||
55 | { |
||
56 | return $this->user; |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @param int $user |
||
61 | */ |
||
62 | public function setUser(int $user): void |
||
63 | { |
||
64 | $this->user = $user; |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * @return int |
||
69 | */ |
||
70 | public function getDomain(): int |
||
71 | { |
||
72 | return $this->domain; |
||
73 | } |
||
74 | |||
75 | /** |
||
76 | * @param int $domain |
||
77 | */ |
||
78 | public function setDomain(int $domain): void |
||
81 | } |
||
82 | |||
83 | |||
84 | } |