| Total Complexity | 3 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class Reminders extends Client |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Create new reminder |
||
| 16 | * |
||
| 17 | * @link https://api.u-on.ru/{key}/reminder/create.{_format} |
||
| 18 | * |
||
| 19 | * @param array $parameters List of parameters |
||
| 20 | * |
||
| 21 | * @return null|object|\Uon\Interfaces\ClientInterface |
||
| 22 | */ |
||
| 23 | public function create(array $parameters) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get list of all reminder |
||
| 35 | * |
||
| 36 | * @link https://api.u-on.ru/{key}/reminder/{page}.{_format} |
||
| 37 | * |
||
| 38 | * @param int $page Unique ID of reminder |
||
| 39 | * |
||
| 40 | * @return null|object|\Uon\Interfaces\ClientInterface |
||
| 41 | */ |
||
| 42 | public function all(int $page = 1) |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get reminder by id |
||
| 53 | * |
||
| 54 | * @link https://api.u-on.ru/{key}/reminder/{r_id}.{_format} |
||
| 55 | * |
||
| 56 | * @param int $id Unique ID of reminder |
||
| 57 | * |
||
| 58 | * @return null|object|\Uon\Interfaces\ClientInterface |
||
| 59 | */ |
||
| 60 | public function get(int $id) |
||
| 69 |