| 1 | <?php |
||
| 8 | class System extends BaseModel |
||
| 9 | { |
||
| 10 | use QueryBuilderTrait; |
||
| 11 | |||
| 12 | protected $endpoint; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Retrieve all Items. |
||
| 16 | * |
||
| 17 | * @param array $options |
||
| 18 | * |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | protected function status($options = []) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Retrieve single tool. |
||
| 30 | * |
||
| 31 | * @param int $id |
||
| 32 | * @param array $options |
||
| 33 | * |
||
| 34 | * @return object |
||
| 35 | */ |
||
| 36 | protected function tool($id, $options = []) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Retrieve all tools. |
||
| 45 | * |
||
| 46 | * @param array $options |
||
| 47 | * |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | protected function tools($options = []) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Run tool. |
||
| 59 | * |
||
| 60 | * @param int $id |
||
| 61 | * @param array $data |
||
| 62 | * |
||
| 63 | * @return object |
||
| 64 | */ |
||
| 65 | protected function run($id, $data) |
||
| 71 | } |
||
| 72 |