Completed
Push — master ( d92e8d...ca859f )
by ARCANEDEV
11s
created

helpers.php ➔ sanitizer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
if ( ! function_exists('sanitizer')) {
4
    /**
5
     * Get the sanitizer factory instance.
6
     *
7
     * @return \Arcanedev\Sanitizer\Factory
8
     */
9
    function sanitizer() {
10
        return app(\Arcanedev\Sanitizer\Contracts\Sanitizer::class);
11
    }
12
}
13