Completed
Pull Request — master (#4)
by
unknown
09:38 queued 20s
created

PhiberCrypt::decrypt()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * Copyright (c) 2017. Este código foi feito por @marciioluucas, sob licença MIT
5
 */
6
namespace Phiber\ORM;
7
8
use Phiber\ORM\Exceptions\NotImplementedException;
9
use Phiber\ORM\Interfaces\ICrypt;
10
11
/**
12
 * Classe responsável por administrar a encriptação/decriptação de dados.
13
 * @package bin
14
 */
15
class PhiberCrypt implements ICrypt
16
{
17
    /**
18
     * Encripta a informação passada no parâmetro
19
     * 
20
     * @todo Implement encrypt() method.
21
     * @param $information
22
     * @return mixed|void
23
     */
24
    static function encrypt($information)
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
25
    {
26
        throw new NotImplementedException();
27
    }
28
29
    /**
30
     * Decripta a informação passada no parâmetro
31
     * 
32
     * @todo Implement decrypt() method.
33
     * @param $information
34
     * @return mixed|void
35
     */
36
    static function decrypt($information)
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
37
    {
38
        throw new NotImplementedException();
39
    }
40
}
41