1 | <?php |
||
21 | trait UserGroupAttributeTrait |
||
22 | { |
||
23 | /** |
||
24 | * The user group(s) that the resulting organizations’ users must be in. |
||
25 | * |
||
26 | * @var string|string[]|int|int[]|UserGroup|UserGroup[]|null |
||
27 | */ |
||
28 | public $userGroup; |
||
29 | |||
30 | /** |
||
31 | * @param string|string[]|int|int[]|UserGroup|UserGroup[]|null $value |
||
32 | * @return static The query object |
||
33 | */ |
||
34 | public function setUserGroup($value) |
||
39 | |||
40 | /** |
||
41 | * @param string|string[]|int|int[]|UserGroup|UserGroup[]|null $value |
||
42 | * @return static The query object |
||
43 | */ |
||
44 | public function userGroup($value) |
||
48 | |||
49 | /** |
||
50 | * @param string|string[]|int|int[]|UserGroup|UserGroup[]|null $value |
||
51 | * @return static The query object |
||
52 | */ |
||
53 | public function setUserGroupId($value) |
||
57 | |||
58 | /** |
||
59 | * @param string|string[]|int|int[]|UserGroup|UserGroup[]|null $value |
||
60 | * @return static The query object |
||
61 | */ |
||
62 | public function userGroupId($value) |
||
66 | |||
67 | /** |
||
68 | * @param $value |
||
69 | * @return int |
||
70 | * @throws QueryAbortedException |
||
71 | */ |
||
72 | protected function parseUserGroupValue($value) |
||
92 | } |
||
93 |