Completed
Push — master ( 4105e9...f42fba )
by Freek
07:58
created

helpers.php ➔ fractal()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 2
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
4
if (!function_exists('fractal')) {
5
6
    /**
7
     * @return \Spatie\Fractal\Fractal
8
     */
9
    function fractal()
10
    {
11
        return app(\Spatie\Fractal\Fractal::class);
12
    }
13
}
14