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