Info.php 665 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace Elasticsearch\Endpoints;
  3. /**
  4. * Class Info
  5. *
  6. * @category Elasticsearch
  7. * @package Elasticsearch\Endpoints
  8. * @author Zachary Tong <zach@elastic.co>
  9. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
  10. * @link http://elastic.co
  11. */
  12. class Info extends AbstractEndpoint
  13. {
  14. /**
  15. * @return string
  16. */
  17. public function getURI()
  18. {
  19. $uri = "/";
  20. return $uri;
  21. }
  22. /**
  23. * @return string[]
  24. */
  25. public function getParamWhitelist()
  26. {
  27. return array(
  28. );
  29. }
  30. /**
  31. * @return string
  32. */
  33. public function getMethod()
  34. {
  35. return 'GET';
  36. }
  37. }