| Total Complexity | 3 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class MemberListParameter extends Parameter |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $properties = [ |
||
| 21 | 'Member_Account', |
||
| 22 | 'Role', |
||
| 23 | 'AppMemberDefinedData' |
||
| 24 | ]; |
||
| 25 | |||
| 26 | protected $required = ['Member_Account']; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @param string $value |
||
| 31 | * |
||
| 32 | * @return $this |
||
| 33 | */ |
||
| 34 | public function setMemberAccount(string $value) |
||
| 35 | { |
||
| 36 | $this->setAttribute('Member_Account', $value); |
||
| 37 | |||
| 38 | return $this; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * |
||
| 43 | * @param string $value |
||
| 44 | * |
||
| 45 | * @return $this |
||
| 46 | */ |
||
| 47 | public function setRole(string $value) |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param CommonParameter ...$AppMemberDefineDataItemAttr |
||
| 56 | * |
||
| 57 | * @return $this |
||
| 58 | * @throws \EasyIM\Kernel\Exceptions\InvalidArgumentException |
||
| 59 | */ |
||
| 60 | public function setAppMemberDefinedData(CommonParameter ...$AppMemberDefineDataItemAttr) |
||
| 69 |