ReCaptcha   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 12
rs 10
ccs 2
cts 2
cp 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
/**
3
 * Copyright (c) 2017 - present
4
 * LaravelGoogleRecaptcha - ReCaptcha.php
5
 * author: Roberto Belotti - [email protected]
6
 * web : robertobelotti.com, github.com/biscolab
7
 * Initial version created on: 12/9/2018
8
 * MIT license: https://github.com/biscolab/laravel-recaptcha/blob/master/LICENSE
9
 */
10
11
namespace Biscolab\ReCaptcha\Facades;
12
13
use Illuminate\Support\Facades\Facade;
14
15
/**
16
 * Class ReCaptcha
17
 * @package Biscolab\ReCaptcha\Facades
18
 *
19
 * @method static string htmlScriptTagJsApi(?array $config = [])
20
 * @method static string htmlFormButton(?string $button_label = '', ?array $properties = [])
21
 * @method static string htmlFormSnippet()
22
 * @method static string getFormId()
23
 */
24
class ReCaptcha extends Facade
25
{
26
27
    /**
28
     * Get the registered name of the component.
29
     *
30
     * @return string
31
     */
32 15
    protected static function getFacadeAccessor()
33
    {
34
35 15
        return 'recaptcha';
36
    }
37
}
38