Skip to content

Commit

Permalink
Update encrypter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyễn Xuân Quỳnh committed Feb 17, 2019
1 parent 38096ff commit 1519620
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Encryption/Encrypter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ interface Encrypter
* @param mixed $value
* @param bool $serialize
* @return mixed
*
* @throws \Illuminate\Contracts\Encryption\EncryptException
*/
public function encrypt($value, $serialize = true);

Expand All @@ -19,6 +21,8 @@ public function encrypt($value, $serialize = true);
* @param mixed $payload
* @param bool $unserialize
* @return mixed
*
* @throws \Illuminate\Contracts\Encryption\DecryptException
*/
public function decrypt($payload, $unserialize = true);
}

0 comments on commit 1519620

Please sign in to comment.