50 lines
1.4 KiB
PHP
50 lines
1.4 KiB
PHP
<?php
|
|
|
|
/*
|
|
* 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 TuzhiEasyWeChat\Channels;
|
|
|
|
use TuzhiEasyWeChat\BasicService;
|
|
use TuzhiEasyWeChat\Kernel\ServiceContainer;
|
|
|
|
/**
|
|
* Class Application.
|
|
*
|
|
* @author overtrue <i@overtrue.me>
|
|
*
|
|
* @property \TuzhiEasyWeChat\BasicService\Media\Client $media
|
|
* @property \TuzhiEasyWeChat\BasicService\Url\Client $url
|
|
* @property \TuzhiEasyWeChat\BasicService\QrCode\Client $qrcode
|
|
*/
|
|
class Application extends ServiceContainer
|
|
{
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $providers = [
|
|
Auth\ServiceProvider::class,
|
|
Server\ServiceProvider::class,
|
|
Sharer\ServiceProvider::class,
|
|
OAuth\ServiceProvider::class,
|
|
Aftersale\ServiceProvider::class,
|
|
Order\ServiceProvider::class,
|
|
Basics\ServiceProvider::class,
|
|
Merchant\ServiceProvider::class,
|
|
Category\ServiceProvider::class,
|
|
Product\ServiceProvider::class,
|
|
Window\ServiceProvider::class,
|
|
// Base services
|
|
BasicService\QrCode\ServiceProvider::class,
|
|
BasicService\Media\ServiceProvider::class,
|
|
BasicService\Url\ServiceProvider::class,
|
|
BasicService\Jssdk\ServiceProvider::class
|
|
];
|
|
}
|