Otp::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Alish\LaravelOtp\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static string issue(string $key)
9
 * @method static bool revoke(string $key)
10
 * @method static bool check(string $key, string $token)
11
 * @method static bool use(string $key, string $token)
12
 */
13
class Otp extends Facade
14
{
15
    /**
16
     * Get the registered name of the component.
17
     *
18
     * @return string
19
     */
20
    protected static function getFacadeAccessor()
21
    {
22
        return 'otp';
23
    }
24
}
25