1 | <?php |
||
20 | trait UploadForFolderTrait |
||
21 | { |
||
22 | /** |
||
23 | * @param string $id |
||
24 | * @param array|null $params |
||
25 | * |
||
26 | * @throws \Zibios\WrikePhpLibrary\Exception\Api\ApiException |
||
27 | * @throws \LogicException |
||
28 | * @throws \InvalidArgumentException |
||
29 | * @throws \Exception |
||
30 | * |
||
31 | * @return mixed |
||
32 | */ |
||
33 | 1 | public function uploadForFolder($id, array $params = []) |
|
42 | |||
43 | /** |
||
44 | * @param string $requestMethod |
||
45 | * @param string $requestScope |
||
46 | * @param array $params |
||
47 | * @param string|array $id |
||
48 | * |
||
49 | * @throws \Zibios\WrikePhpLibrary\Exception\Api\ApiException |
||
50 | * @throws \LogicException |
||
51 | * @throws \InvalidArgumentException |
||
52 | * @throws \Exception |
||
53 | * |
||
54 | * @return mixed |
||
55 | */ |
||
56 | abstract protected function executeRequest( |
||
62 | } |
||
63 |