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