Passed
Push — scrutinizer-migrate-to-new-eng... ( 58afd6 )
by Alexander
18:11
created

Yii

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 3
c 0
b 0
f 0
ccs 0
cts 0
cp 0
1
<?php
2
/**
3
 * @link http://www.yiiframework.com/
4
 * @copyright Copyright (c) 2008 Yii Software LLC
5
 * @license http://www.yiiframework.com/license/
6
 */
7
8
require __DIR__ . '/BaseYii.php';
9
10
/**
11
 * Yii is a helper class serving common framework functionalities.
12
 *
13
 * It extends from [[\yii\BaseYii]] which provides the actual implementation.
14
 * By writing your own Yii class, you can customize some functionalities of [[\yii\BaseYii]].
15
 *
16
 * @author Qiang Xue <[email protected]>
17
 * @since 2.0
18
 */
19
class Yii extends \yii\BaseYii
20
{
21
}
22
23
spl_autoload_register(['Yii', 'autoload'], true, true);
24
Yii::$classMap = require __DIR__ . '/classes.php';
25
Yii::$container = new yii\di\Container();
26