Completed
Branch dev (450541)
by Gaige
03:34
created

helpers.php ➔ vasri()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 4
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
use ExoUNX\Vasri\Vasri;
4
5
if ( ! function_exists('vasri')) {
6
    /**
7
     * Get file and generate version and SRI if enabled
8
     *
9
     * @param $type
10
     * @param $path
11
     * @param  bool  $versioning
12
     * @param  bool  $sri
13
     *
14
     * @return mixed
15
     * @throws Exception
16
     */
17
    function vasri($type, $path, $versioning = true, $sri = true)
18
    {
19
        return Vasri::vasri($type, $path, $versioning, $sri);
20
    }
21
}
22