ReCaptcha::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
ccs 2
cts 2
cp 1
crap 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