$server
$server : \EasyWeChat\MiniProgram\Server\Guard
Class MiniProgram.
$container : \Pimple\Container
Container.
__construct(\Pimple\Container $container)
ContainerAccess constructor.
\Pimple\Container | $container |
__get(string $key) : mixed
Gets a parameter or an object from pimple container.
Get the class basename
of the current class.
Convert class basename
to snake-case and concatenation with dot notation.
E.g. Class 'EasyWechat', $key foo -> 'easy_wechat.foo'
string | $key | The unique identifier for the parameter or object |
If the identifier is not defined
The value of the parameter or an object
<?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.
*/
/**
* MiniProgram.php.
*
* Part of Overtrue\WeChat.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author mingyoung <mingyoungcheung@gmail.com>
* @copyright 2016
*
* @see https://github.com/overtrue
* @see http://overtrue.me
*/
namespace EasyWeChat\MiniProgram;
use EasyWeChat\Support\Traits\PrefixedContainer;
/**
* Class MiniProgram.
*
* @property \EasyWeChat\MiniProgram\Server\Guard $server
* @property \EasyWeChat\MiniProgram\Sns\Sns $sns
* @property \EasyWeChat\MiniProgram\Notice\Notice $notice
* @property \EasyWeChat\MiniProgram\Staff\Staff $staff
* @property \EasyWeChat\MiniProgram\QRCode\QRCode $qrcode
* @property \EasyWeChat\MiniProgram\Material\Temporary $material_temporary
* @property \EasyWeChat\MiniProgram\Stats\Stats $stats
*/
class MiniProgram
{
use PrefixedContainer;
}