Server.php 579 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace Swoole\Redis;
  3. class Server extends \Swoole\Server
  4. {
  5. public const NIL = 1;
  6. public const ERROR = 0;
  7. public const STATUS = 2;
  8. public const INT = 3;
  9. public const STRING = 4;
  10. public const SET = 5;
  11. public const MAP = 6;
  12. /**
  13. * @return mixed
  14. */
  15. public function setHandler($command, callable $callback)
  16. {
  17. }
  18. /**
  19. * @return mixed
  20. */
  21. public function getHandler($command)
  22. {
  23. }
  24. /**
  25. * @return mixed
  26. */
  27. public static function format($type, $value = null)
  28. {
  29. }
  30. }