Crypt.php 718 B

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