Completed
Push — master ( a01b26...83d43b )
by Nicolas
02:15
created

helpers.php ➔ setting()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 3
dl 0
loc 4
rs 10
1
<?php
2
3
if (! function_exists('setting')) {
4
    function setting($name, $locale = null, $default = null)
5
    {
6
        return app('setting.settings')->get($name, $locale, $default);
7
    }
8
}
9