Completed
Pull Request — master (#29)
by Korotkov
02:14
created

config()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * @author    : Korotkov Danila <[email protected]>
5
 * @copyright Copyright (c) 2019, Korotkov Danila
6
 * @license   http://www.gnu.org/licenses/gpl.html GNU GPL-3.0
7
 */
8
9
if (!function_exists('config')) {
10
    function config(string $key, string $subKey = null)
11
    {
12
        return \Rudra\Container::app()->config($key, $subKey);
13
    }
14
}
15