| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- /*
- * This file is part of the overtrue/wechat.
- *
- * (c) overtrue <i@overtrue.me>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- namespace ByteDance\MiniProgram;
- use ByteDance\Kernel\ServiceContainer;
- /**
- * Class Application.
- *
- * @property \ByteDance\MiniProgram\Auth\AccessToken $access_token
- * @property \ByteDance\MiniProgram\Auth\Client $auth
- * @property \ByteDance\MiniProgram\KVData\Client $kv
- * @property \ByteDance\MiniProgram\Encryptor $encryptor
- * @property \ByteDance\MiniProgram\QRCode\Client $qrcode
- * @property \ByteDance\MiniProgram\Message\Client $message
- * @property \ByteDance\MiniProgram\Order\Client $order
- */
- class Application extends ServiceContainer
- {
- /**
- * @var array
- */
- protected $providers = [
- Auth\ServiceProvider::class,
- KVData\ServiceProvider::class,
- QRCode\ServiceProvider::class,
- Message\ServiceProvider::class,
- Order\ServiceProvider::class
- ];
- /**
- * Handle dynamic calls.
- *
- * @param string $method
- * @param array $args
- *
- * @return mixed
- */
- public function __call($method, $args)
- {
- return $this->base->$method(...$args);
- }
- }
|