| Total Complexity | 5 |
| Total Lines | 68 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Subscriptions extends CafeApi |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Subscriptions constructor. |
||
| 14 | * @param string $apiUrl |
||
| 15 | * @param string $email |
||
| 16 | * @param string $password |
||
| 17 | */ |
||
| 18 | public function __construct(string $apiUrl, string $email, string $password) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return Subscriptions |
||
| 25 | */ |
||
| 26 | public function index(): Subscriptions |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param array $fields |
||
| 38 | * @return Subscriptions |
||
| 39 | */ |
||
| 40 | public function create(array $fields): Subscriptions |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return Subscriptions |
||
| 53 | */ |
||
| 54 | public function read(): Subscriptions |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @param array $fields |
||
| 66 | * @return Subscriptions |
||
| 67 | */ |
||
| 68 | public function update(array $fields): Subscriptions |
||
| 77 | } |
||
| 78 | } |