| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Trackers extends AbstractRepository |
||
| 14 | { |
||
| 15 | public const API_ROOT = "trackers"; |
||
| 16 | |||
| 17 | public function getModelClass(): string |
||
| 20 | } |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * @throws MethodNotImplementedException |
||
| 25 | */ |
||
| 26 | public function search(array $params = []): ArrayCollection |
||
| 27 | { |
||
| 28 | throw new MethodNotImplementedException( |
||
| 29 | "Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @throws MethodNotImplementedException |
||
| 35 | */ |
||
| 36 | public function create(AbstractModel $model): ?AbstractModel |
||
| 40 | ); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @throws MethodNotImplementedException |
||
| 45 | */ |
||
| 46 | public function update(AbstractModel $model): ?AbstractModel |
||
| 47 | { |
||
| 48 | throw new MethodNotImplementedException( |
||
| 49 | "Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT |
||
| 50 | ); |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @throws MethodNotImplementedException |
||
| 55 | */ |
||
| 56 | public function delete(AbstractModel $model): void |
||
| 60 | ); |
||
| 61 | } |
||
| 63 |