| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Statuses extends AbstractRepository |
||
| 14 | { |
||
| 15 | public const API_ROOT = "issue_statuses"; |
||
| 16 | |||
| 17 | public function getModelClass(): string |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @throws MethodNotImplementedException |
||
| 24 | */ |
||
| 25 | public function get(mixed $id): ?AbstractModel |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @throws MethodNotImplementedException |
||
| 34 | */ |
||
| 35 | public function create(AbstractModel $model): ?AbstractModel |
||
| 36 | { |
||
| 37 | throw new MethodNotImplementedException( |
||
| 38 | "Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @throws MethodNotImplementedException |
||
| 44 | */ |
||
| 45 | public function update(AbstractModel $model): ?AbstractModel |
||
| 49 | ); |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @throws MethodNotImplementedException |
||
| 54 | */ |
||
| 55 | public function delete(AbstractModel $model): void |
||
| 62 |