1 | <?php |
||
7 | class Time extends TeamworkObject |
||
8 | { |
||
9 | use RestfulTrait; |
||
10 | |||
11 | protected $wrapper = 'time-entry'; |
||
12 | protected $endpoint = 'time_entries'; |
||
13 | |||
14 | /** |
||
15 | * GET /time_entries.json |
||
16 | * |
||
17 | * @return mixed |
||
18 | */ |
||
19 | public function all($args = null, $fullResponse = false) |
||
25 | |||
26 | /** |
||
27 | * GET /time_entries/id.json |
||
28 | * |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function find($args = null) |
||
37 | |||
38 | /** |
||
39 | * Edit A Time entry |
||
40 | * PUT /time_entries/{id}.json |
||
41 | * |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function edit($data) |
||
48 | |||
49 | /** |
||
50 | * Delete A Time entry |
||
51 | * DELETE /time_entries/{id}.json |
||
52 | * |
||
53 | * @return mixed |
||
54 | */ |
||
55 | public function delete() |
||
59 | } |
||
60 |