Async.php 881 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace Swoole;
  3. class Async
  4. {
  5. /**
  6. * @return mixed
  7. */
  8. public static function read($filename, $callback, $chunk_size = null, $offset = null)
  9. {
  10. }
  11. /**
  12. * @return mixed
  13. */
  14. public static function write($filename, $content, $offset = null, $callback = null)
  15. {
  16. }
  17. /**
  18. * @return mixed
  19. */
  20. public static function readFile($filename, $callback)
  21. {
  22. }
  23. /**
  24. * @return mixed
  25. */
  26. public static function writeFile($filename, $content, $callback = null, $flags = null)
  27. {
  28. }
  29. /**
  30. * @return mixed
  31. */
  32. public static function dnsLookup($hostname, $callback)
  33. {
  34. }
  35. /**
  36. * @return mixed
  37. */
  38. public static function set(array $settings)
  39. {
  40. }
  41. /**
  42. * @return mixed
  43. */
  44. public static function exec($command, $callback)
  45. {
  46. }
  47. }