| 1 | <?php |
||
| 7 | class System extends BaseModel |
||
| 8 | { |
||
| 9 | protected $endpoint; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Retrieve all Items. |
||
| 13 | * |
||
| 14 | * @param array $options |
||
| 15 | * |
||
| 16 | * @return array |
||
| 17 | */ |
||
| 18 | protected function status($options = []) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Retrieve single tool. |
||
| 25 | * |
||
| 26 | * @param int $id |
||
| 27 | * @param array $options |
||
| 28 | * |
||
| 29 | * @return object |
||
| 30 | */ |
||
| 31 | protected function tool($id, $options = []) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Retrieve all tools. |
||
| 38 | * |
||
| 39 | * @param array $options |
||
| 40 | * |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | protected function tools($options = []) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Run tool. |
||
| 50 | * |
||
| 51 | * @param int $id |
||
| 52 | * @param array $data |
||
| 53 | * |
||
| 54 | * @return object |
||
| 55 | */ |
||
| 56 | protected function run($id, $data) |
||
| 60 | } |
||
| 61 |