Total Complexity | 4 |
Total Lines | 65 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | class ImportFriendParameter extends AddFriendParameter |
||
14 | { |
||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | protected $properties = [ |
||
19 | 'To_Account', |
||
20 | 'Remark', |
||
21 | 'GroupName', |
||
22 | 'AddSource', |
||
23 | 'AddWording', |
||
24 | 'RemarkTime', |
||
25 | 'AddTime', |
||
26 | 'CustomItem' |
||
27 | ]; |
||
28 | |||
29 | /** |
||
30 | * |
||
31 | * @param int $value |
||
32 | * |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function setRemarkTime(int $value) |
||
36 | { |
||
37 | $this->setAttribute('RemarkTime', $value); |
||
38 | |||
39 | return $this; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * |
||
44 | * @param int $value |
||
45 | * |
||
46 | * @return $this |
||
47 | */ |
||
48 | public function setAddTime(int $value) |
||
53 | } |
||
54 | |||
55 | |||
56 | /** |
||
57 | * |
||
58 | * @param TagParameter ...$tagParameters |
||
59 | * |
||
60 | * @return $this |
||
61 | */ |
||
62 | public function setCustomItem(TagParameter ...$tagParameters) |
||
63 | { |
||
64 | $this->setAttribute('CustomItem', parameterList(...$tagParameters)()); |
||
65 | return $this; |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * |
||
70 | * @param array $value |
||
71 | * |
||
72 | * @return $this |
||
73 | */ |
||
74 | public function setGroupName($value) |
||
78 | } |
||
79 | } |
||
80 |