| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Queries extends AbstractRepository |
||
| 11 | { |
||
| 12 | public const API_ROOT = "queries"; |
||
| 13 | |||
| 14 | public function getModelClass(): string |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @throws MethodNotImplementedException |
||
| 21 | */ |
||
| 22 | public function create(AbstractModel $model): ?AbstractModel |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @throws MethodNotImplementedException |
||
| 31 | */ |
||
| 32 | public function get(mixed $id): ?AbstractModel |
||
| 33 | { |
||
| 34 | throw new MethodNotImplementedException( |
||
| 35 | "Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @throws MethodNotImplementedException |
||
| 41 | */ |
||
| 42 | public function update(AbstractModel $model): ?AbstractModel |
||
| 43 | { |
||
| 44 | throw new MethodNotImplementedException( |
||
| 45 | "Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT |
||
| 46 | ); |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @throws MethodNotImplementedException |
||
| 51 | */ |
||
| 52 | public function delete(AbstractModel $model): void |
||
| 56 | ); |
||
| 57 | } |
||
| 58 | } |
||
| 59 |