| 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static bool supported(string $key, string $cipher) |
| 7 | * @method static string generateKey(string $cipher) |
| 8 | * @method static string encrypt(mixed $value, bool $serialize = true) |
| 9 | * @method static string encryptString(string $value) |
| 10 | * @method static mixed decrypt(string $payload, bool $unserialize = true) |
| 11 | * @method static string decryptString(string $payload) |
| 12 | * @method static bool appearsEncrypted(mixed $value) |
| 13 | * @method static string getKey() |
| 14 | * @method static array getAllKeys() |
| 15 | * @method static array getPreviousKeys() |
| 16 | * @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys) |
| 17 | * |
| 18 | * @see \Illuminate\Encryption\Encrypter |
| 19 | */ |
| 20 | class Crypt extends Facade |
| 21 | { |
| 22 | /** |
| 23 | * Get the registered name of the component. |
| 24 | * |
| 25 | * @return string |
| 26 | */ |
| 27 | protected static function getFacadeAccessor() |
| 28 | { |
| 29 | return 'encrypter'; |
| 30 | } |
| 31 | } |