Application.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /*
  3. * This file is part of the overtrue/wechat.
  4. *
  5. * (c) overtrue <i@overtrue.me>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace EasyWeChat\BasicService;
  11. use EasyWeChat\Kernel\ServiceContainer;
  12. /**
  13. * Class Application.
  14. *
  15. * @author overtrue <i@overtrue.me>
  16. *
  17. * @property \EasyWeChat\BasicService\Jssdk\Client $jssdk
  18. * @property \EasyWeChat\BasicService\Media\Client $media
  19. * @property \EasyWeChat\BasicService\QrCode\Client $qrcode
  20. * @property \EasyWeChat\BasicService\Url\Client $url
  21. * @property \EasyWeChat\BasicService\ContentSecurity\Client $content_security
  22. */
  23. class Application extends ServiceContainer
  24. {
  25. /**
  26. * @var array
  27. */
  28. protected $providers = [
  29. Jssdk\ServiceProvider::class,
  30. QrCode\ServiceProvider::class,
  31. Media\ServiceProvider::class,
  32. Url\ServiceProvider::class,
  33. ContentSecurity\ServiceProvider::class,
  34. ];
  35. }