1 | <?php |
||
18 | class CompanyCriteria extends AbstractCriteria |
||
19 | { |
||
20 | use ConnectionTrait, |
||
21 | CacheTrait, |
||
22 | IdAttributeTrait, |
||
23 | PayloadAttributeTrait; |
||
24 | |||
25 | /** |
||
26 | * @param array $criteria |
||
27 | * @param array $config |
||
28 | * @return ResponseInterface |
||
29 | * @throws \Exception |
||
30 | */ |
||
31 | public function read(array $criteria = [], array $config = []): ResponseInterface |
||
43 | |||
44 | /** |
||
45 | * @param array $criteria |
||
46 | * @param array $config |
||
47 | * @return ResponseInterface |
||
48 | * @throws \Exception |
||
49 | */ |
||
50 | public function create(array $criteria = [], array $config = []): ResponseInterface |
||
61 | |||
62 | /** |
||
63 | * @param array $criteria |
||
64 | * @param array $config |
||
65 | * @return ResponseInterface |
||
66 | * @throws \Exception |
||
67 | */ |
||
68 | public function update(array $criteria = [], array $config = []): ResponseInterface |
||
81 | |||
82 | /** |
||
83 | * @param array $criteria |
||
84 | * @param array $config |
||
85 | * @return ResponseInterface |
||
86 | */ |
||
87 | public function upsert(array $criteria = [], array $config = []): ResponseInterface |
||
100 | |||
101 | /** |
||
102 | * @param array $criteria |
||
103 | * @param array $config |
||
104 | * @return ResponseInterface |
||
105 | * @throws \Exception |
||
106 | */ |
||
107 | public function delete(array $criteria = [], array $config = []): ResponseInterface |
||
119 | } |
||
120 |