RedisLock.php 522 B

1234567891011121314151617181920212223
  1. <?php namespace App\Facades\Servers\Redis;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * @method static miexd lock(string $key,string $value, int $ex=20) 上异步锁
  5. * @method static miexd unlock($key,$value) 释放锁
  6. *
  7. * @see \App\Servers\Redis\RedisLock
  8. *
  9. */
  10. class RedisLock extends Facade
  11. {
  12. /**
  13. * Get the registered name of the component.
  14. *
  15. * @return string
  16. */
  17. protected static function getFacadeAccessor()
  18. {
  19. return 'App\Servers\Redis\RedisLock';
  20. }
  21. }