Crypt.php 874 B

123456789101112131415161718192021222324252627282930
  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. * @method static array getAllKeys()
  12. * @method static array getPreviousKeys()
  13. * @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys)
  14. *
  15. * @see \Illuminate\Encryption\Encrypter
  16. */
  17. class Crypt extends Facade
  18. {
  19. /**
  20. * Get the registered name of the component.
  21. *
  22. * @return string
  23. */
  24. protected static function getFacadeAccessor()
  25. {
  26. return 'encrypter';
  27. }
  28. }