Total Complexity | 5 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class User extends ApiModel |
||
14 | { |
||
15 | |||
16 | public static function find(String $id) |
||
17 | { |
||
18 | return parent::get("users/$id"); |
||
19 | } |
||
20 | |||
21 | public static function enrollments(String $id) |
||
22 | { |
||
23 | return parent::get("users/$id/enrollments"); |
||
24 | } |
||
25 | |||
26 | public static function events(String $id) |
||
29 | } |
||
30 | |||
31 | public static function eventsFrom(String $id, String $from) |
||
32 | { |
||
33 | return parent::get("users/$id/events?from=$from"); |
||
34 | } |
||
35 | |||
36 | public static function eventsFromTo(String $id, String $from, String $to) |
||
39 | } |
||
40 | |||
42 | } |