v.0.1
This commit is contained in:
10
vendor/illuminate/contracts/Encryption/DecryptException.php
vendored
Normal file
10
vendor/illuminate/contracts/Encryption/DecryptException.php
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class DecryptException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
10
vendor/illuminate/contracts/Encryption/EncryptException.php
vendored
Normal file
10
vendor/illuminate/contracts/Encryption/EncryptException.php
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class EncryptException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
28
vendor/illuminate/contracts/Encryption/Encrypter.php
vendored
Normal file
28
vendor/illuminate/contracts/Encryption/Encrypter.php
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
interface Encrypter
|
||||
{
|
||||
/**
|
||||
* Encrypt the given value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param bool $serialize
|
||||
* @return string
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function encrypt($value, $serialize = true);
|
||||
|
||||
/**
|
||||
* Decrypt the given value.
|
||||
*
|
||||
* @param string $payload
|
||||
* @param bool $unserialize
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function decrypt($payload, $unserialize = true);
|
||||
}
|
Reference in New Issue
Block a user