| 1 | <?php |
||
| 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) |
||
| 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) |
||
| 40 | } |
||
| 41 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.