mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-08-23 05:08:34 +00:00
30 lines
496 B
PHP
30 lines
496 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the overtrue/wechat.
|
|
*
|
|
*/
|
|
|
|
namespace EasyWeChat\MiniProgram\Business;
|
|
|
|
use Pimple\Container;
|
|
use Pimple\ServiceProviderInterface;
|
|
|
|
/**
|
|
* Class ServiceProvider.
|
|
*
|
|
* @author wangdongzhao <elim051@163.com>
|
|
*/
|
|
class ServiceProvider implements ServiceProviderInterface
|
|
{
|
|
/**
|
|
* {@inheritdoc}.
|
|
*/
|
|
public function register(Container $app)
|
|
{
|
|
$app['business'] = function ($app) {
|
|
return new Client($app);
|
|
};
|
|
}
|
|
}
|