Completed
Pull Request — master (#632)
by mingyoung
04:39 queued 01:49
created

MiniProgram::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 8
rs 9.4285
ccs 0
cts 6
cp 0
crap 2
1
<?php
2
3
/*
4
 * This file is part of the overtrue/wechat.
5
 *
6
 * (c) overtrue <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
/**
13
 * MiniProgram.php.
14
 *
15
 * Part of Overtrue\WeChat.
16
 *
17
 * For the full copyright and license information, please view the LICENSE
18
 * file that was distributed with this source code.
19
 *
20
 * @author    mingyoung <[email protected]>
21
 * @copyright 2016
22
 *
23
 * @see      https://github.com/overtrue
24
 * @see      http://overtrue.me
25
 */
26
27
namespace EasyWeChat\MiniProgram;
28
29
use EasyWeChat\Foundation\ContainerAccess;
30
31
/**
32
 * Class MiniProgram.
33
 *
34
 * @property \EasyWeChat\MiniProgram\Server\Guard $server
35
 * @property \EasyWeChat\MiniProgram\Sns\Sns $user
36
 * @property \EasyWeChat\MiniProgram\Notice\Notice $notice
37
 * @property \EasyWeChat\MiniProgram\Staff\Staff $staff
38
 * @property \EasyWeChat\MiniProgram\QRCode\QRCode $qrcode
39
 * @property \EasyWeChat\MiniProgram\Material\Temporary $material_temporary
40
 */
41
class MiniProgram extends ContainerAccess
42
{
43
    /**
44
     * {@inheritdoc}.
45
     */
46
    protected $containerPrefix = 'mini_program.';
47
}
48