Identification.php 541 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Pingpp;
  3. class Identification extends ApiResource
  4. {
  5. /**
  6. * @param array|null $params
  7. * @param array|string|null $options
  8. *
  9. * @return Identification result.
  10. */
  11. public static function identify($params = null, $options = null)
  12. {
  13. return self::_create($params, $options);
  14. }
  15. /**
  16. * @return string The API URL for this Pingpp identification.
  17. */
  18. public static function classUrl()
  19. {
  20. $base = static::className();
  21. return "/v1/${base}";
  22. }
  23. }