Completed
Push — master ( 314785...a2e7bc )
by Gaige
19s queued 11s
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 3
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  $path
10
     * @param  bool  $versioning
11
     * @param  bool  $sri
12
     *
13
     * @return string
14
     * @throws Exception
15
     */
16
    function vasri(string $path, bool $versioning = true, bool $sri = true): string
17
    {
18
        return Vasri::vasri($path, $versioning, $sri);
19
    }
20
}
21