1 | <?php |
||
18 | class ContactListContactsCriteria extends AbstractCriteria |
||
19 | { |
||
20 | use ConnectionTrait, |
||
21 | CacheTrait, |
||
22 | IdAttributeTrait; |
||
23 | |||
24 | /** |
||
25 | * @var array|null |
||
26 | */ |
||
27 | protected $vids; |
||
28 | /** |
||
29 | * @var array|null |
||
30 | */ |
||
31 | protected $emails; |
||
32 | |||
33 | /** |
||
34 | * @return array |
||
35 | * @throws \Exception |
||
36 | */ |
||
37 | public function getVids(): array |
||
44 | |||
45 | /** |
||
46 | * @return array|null |
||
47 | */ |
||
48 | public function findVids() |
||
52 | |||
53 | /** |
||
54 | * @param array|null $ids |
||
55 | * @return $this |
||
56 | */ |
||
57 | public function setVids(array $ids = null) |
||
62 | |||
63 | /** |
||
64 | * @return array |
||
65 | * @throws \Exception |
||
66 | */ |
||
67 | public function getEmails(): array |
||
74 | |||
75 | /** |
||
76 | * @return array|null |
||
77 | */ |
||
78 | public function findEmails() |
||
82 | |||
83 | /** |
||
84 | * @param array|null $emails |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setEmails(array $emails = null) |
||
92 | |||
93 | /** |
||
94 | * @return array |
||
95 | * @throws \Exception |
||
96 | */ |
||
97 | public function getPayload(): array |
||
106 | |||
107 | /** |
||
108 | * @param array $criteria |
||
109 | * @param array $config |
||
110 | * @return ResponseInterface |
||
111 | * @throws \Exception |
||
112 | */ |
||
113 | public function all(array $criteria = [], array $config = []): ResponseInterface |
||
125 | |||
126 | /** |
||
127 | * @param array $criteria |
||
128 | * @param array $config |
||
129 | * @return ResponseInterface |
||
130 | * @throws \Exception |
||
131 | */ |
||
132 | public function add(array $criteria = [], array $config = []): ResponseInterface |
||
145 | |||
146 | /** |
||
147 | * @param array $criteria |
||
148 | * @param array $config |
||
149 | * @return ResponseInterface |
||
150 | * @throws \Exception |
||
151 | */ |
||
152 | public function remove(array $criteria = [], array $config = []): ResponseInterface |
||
165 | } |
||
166 |