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