Completed
Pull Request — master (#2)
by ARCANEDEV
06:08
created

helpers.php ➔ hasher()   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('hasher')) {
4
    /**
5
     * Get the Hasher repository.
6
     *
7
     * @return Arcanedev\Hasher\Contracts\HashManager
8
     */
9
    function hasher() {
10
        return app(Arcanedev\Hasher\Contracts\HashManager::class);
11
    }
12
}
13