Completed
Push — master ( d13c8d...21fed8 )
by Korotkov
02:10 queued 12s
created

di()   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 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * @author    : Jagepard <[email protected]">
5
 * @copyright Copyright (c) 2019, Jagepard
6
 * @license   https://mit-license.org/ MIT
7
 */
8
9
if (!function_exists('config')) {
10
    function config()
11
    {
12
        return \Rudra\Container\Application::run()->config();
13
    }
14
}
15
16
if (!function_exists('rudra')) {
17
    function rudra()
18
    {
19
        return \Rudra\Container\Application::run();
20
    }
21
}
22
23
if (!function_exists('request')) {
24
    function request()
25
    {
26
        return \Rudra\Container\Application::run()->request();
27
    }
28
}
29
30
if (!function_exists('di')) {
31
    function di()
32
    {
33
        return \Rudra\Container\Application::run()->di();
34
    }
35
}
36