1 | <?php |
||
25 | class CompanyContacts |
||
26 | { |
||
27 | |||
28 | /******************************************* |
||
29 | * READ |
||
30 | *******************************************/ |
||
31 | |||
32 | /** |
||
33 | * @param string $identifier |
||
34 | * @param ConnectionInterface|null $connection |
||
35 | * @param CacheInterface|null $cache |
||
36 | * @param LoggerInterface|null $logger |
||
37 | * @param array $config |
||
38 | * @return ResponseInterface |
||
39 | */ |
||
40 | public static function all( |
||
55 | |||
56 | /** |
||
57 | * @param string $identifier |
||
58 | * @param ConnectionInterface|null $connection |
||
59 | * @param CacheInterface|null $cache |
||
60 | * @param LoggerInterface|null $logger |
||
61 | * @param array $config |
||
62 | * @return callable |
||
63 | */ |
||
64 | public static function allRelay( |
||
81 | |||
82 | |||
83 | /******************************************* |
||
84 | * ADD |
||
85 | *******************************************/ |
||
86 | |||
87 | /** |
||
88 | * @param string $companyId |
||
89 | * @param string $contactId |
||
90 | * @param ConnectionInterface|null $connection |
||
91 | * @param CacheInterface|null $cache |
||
92 | * @param LoggerInterface|null $logger |
||
93 | * @param array $config |
||
94 | * @return ResponseInterface |
||
95 | */ |
||
96 | public static function add( |
||
113 | |||
114 | /** |
||
115 | * @param string $companyId |
||
116 | * @param string $contactId |
||
117 | * @param ConnectionInterface|null $connection |
||
118 | * @param CacheInterface|null $cache |
||
119 | * @param LoggerInterface|null $logger |
||
120 | * @param array $config |
||
121 | * @return callable |
||
122 | */ |
||
123 | public static function addRelay( |
||
143 | |||
144 | |||
145 | /******************************************* |
||
146 | * REMOVE |
||
147 | *******************************************/ |
||
148 | |||
149 | /** |
||
150 | * @param string $companyId |
||
151 | * @param string $contactId |
||
152 | * @param ConnectionInterface|null $connection |
||
153 | * @param CacheInterface|null $cache |
||
154 | * @param LoggerInterface|null $logger |
||
155 | * @param array $config |
||
156 | * @return ResponseInterface |
||
157 | */ |
||
158 | public static function remove( |
||
175 | |||
176 | /** |
||
177 | * @param string $companyId |
||
178 | * @param string $contactId |
||
179 | * @param ConnectionInterface|null $connection |
||
180 | * @param CacheInterface|null $cache |
||
181 | * @param LoggerInterface|null $logger |
||
182 | * @param array $config |
||
183 | * @return callable |
||
184 | */ |
||
185 | public static function removeRelay( |
||
205 | } |
||
206 |