| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Relations extends AbstractRepository |
||
| 15 | { |
||
| 16 | public const API_ROOT = "relations"; |
||
| 17 | |||
| 18 | public function getModelClass(): string |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @throws MethodNotImplementedException |
||
| 25 | */ |
||
| 26 | public function create(AbstractModel $model): ?AbstractModel |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @throws MethodNotImplementedException |
||
| 35 | */ |
||
| 36 | public function update(AbstractModel $model): ?AbstractModel |
||
| 37 | { |
||
| 38 | throw new MethodNotImplementedException( |
||
| 39 | "Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT |
||
| 40 | ); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @throws MethodNotImplementedException |
||
| 45 | */ |
||
| 46 | public function all(?string $endpoint = null): ArrayCollection |
||
| 50 | ); |
||
| 51 | } |
||
| 53 |