Cache.php 1005 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. declare (strict_types = 1);
  12. namespace think\facade;
  13. use think\Facade;
  14. /**
  15. * @see \think\CacheManager
  16. * @mixin \think\CacheManager
  17. */
  18. class Cache extends Facade
  19. {
  20. /**
  21. * 获取当前Facade对应类名(或者已经绑定的容器对象标识)
  22. * @access protected
  23. * @return string
  24. */
  25. protected static function getFacadeClass()
  26. {
  27. return 'think\CacheManager';
  28. }
  29. }