| 1 | <?php |
||
| 7 | class People extends TeamworkObject |
||
| 8 | { |
||
| 9 | use RestfulTrait; |
||
| 10 | |||
| 11 | protected $wrapper = 'person'; |
||
| 12 | protected $endpoint = 'people'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * GET /people.json |
||
| 16 | * |
||
| 17 | * @return mixed |
||
| 18 | */ |
||
| 19 | public function all($args = null) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * GET /me.json |
||
| 28 | */ |
||
| 29 | public function me() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get All API Keys |
||
| 36 | * GET /people/APIKeys.json |
||
| 37 | * |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function apiKeys() |
||
| 44 | } |