EloquentAESFacade   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 RichardStyles\EloquentAES;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static bool supported(string $key, string $cipher)
9
 * @method static mixed decrypt(string $payload, bool $unserialize = true)
10
 * @method static string decryptString(string $payload)
11
 * @method static string encrypt(mixed $value, bool $serialize = true)
12
 * @method static string encryptString(string $value)
13
 * @method static string generateKey(string $cipher)
14
 * @method static string getKey()
15
 *
16
 * @see \Illuminate\Encryption\Encrypter
17
 */
18
class EloquentAESFacade extends Facade
19
{
20
    /**
21
     * Get the registered name of the component.
22
     *
23
     * @return string
24
     */
25
    protected static function getFacadeAccessor()
26
    {
27
        return 'eloquentaes';
28
    }
29
}