setEndpoint('system_status') ->all($options); } /** * Retrieve single tool. * * @param int $id * @param array $options * * @return object */ protected function tool($id, $options = []) { return Query::init() ->setEndpoint('system_status/tools') ->find($id, $options); } /** * Retrieve all tools. * * @param array $options * * @return array */ protected function tools($options = []) { return Query::init() ->setEndpoint('system_status/tools') ->all($options); } /** * Run tool. * * @param int $id * @param array $data * * @return object */ protected function run($id, $data) { return Query::init() ->setEndpoint('system_status/tools') ->update($id, $data); } }