Timer.php 922 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. namespace Swoole;
  3. class Timer
  4. {
  5. /**
  6. * @return mixed
  7. */
  8. public static function set(array $settings)
  9. {
  10. }
  11. /**
  12. * @return mixed
  13. */
  14. public static function tick($ms, callable $callback, ... $params)
  15. {
  16. }
  17. /**
  18. * @return mixed
  19. */
  20. public static function after($ms, callable $callback, ... $params)
  21. {
  22. }
  23. /**
  24. * @return mixed
  25. */
  26. public static function exists($timer_id)
  27. {
  28. }
  29. /**
  30. * @return mixed
  31. */
  32. public static function info($timer_id)
  33. {
  34. }
  35. /**
  36. * @return mixed
  37. */
  38. public static function stats()
  39. {
  40. }
  41. /**
  42. * @return mixed
  43. */
  44. public static function list()
  45. {
  46. }
  47. /**
  48. * @return mixed
  49. */
  50. public static function clear($timer_id)
  51. {
  52. }
  53. /**
  54. * @return mixed
  55. */
  56. public static function clearAll()
  57. {
  58. }
  59. }