Captcha.php 493 B

1234567891011121314151617181920
  1. <?php
  2. namespace yiovo\captcha\facade;
  3. use think\Facade;
  4. /**
  5. * Class Captcha
  6. * @package yiovo\captcha\facade
  7. * @mixin \yiovo\captcha\Captcha
  8. * @method static array create(string $config = null) 生成图形验证码并把验证码的值保存的缓存中
  9. * @method static bool check(string $code, string $key) 验证图形验证码是否正确
  10. */
  11. class Captcha extends Facade
  12. {
  13. protected static function getFacadeClass()
  14. {
  15. return \yiovo\captcha\Captcha::class;
  16. }
  17. }