Otp   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
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