Hash.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static \Illuminate\Hashing\BcryptHasher createBcryptDriver()
  5. * @method static \Illuminate\Hashing\ArgonHasher createArgonDriver()
  6. * @method static \Illuminate\Hashing\Argon2IdHasher createArgon2idDriver()
  7. * @method static array info(string $hashedValue)
  8. * @method static string make(string $value, array $options = [])
  9. * @method static bool check(string $value, string $hashedValue, array $options = [])
  10. * @method static bool needsRehash(string $hashedValue, array $options = [])
  11. * @method static bool isHashed(string $value)
  12. * @method static string getDefaultDriver()
  13. * @method static mixed driver(string|null $driver = null)
  14. * @method static \Illuminate\Hashing\HashManager extend(string $driver, \Closure $callback)
  15. * @method static array getDrivers()
  16. * @method static \Illuminate\Contracts\Container\Container getContainer()
  17. * @method static \Illuminate\Hashing\HashManager setContainer(\Illuminate\Contracts\Container\Container $container)
  18. * @method static \Illuminate\Hashing\HashManager forgetDrivers()
  19. *
  20. * @see \Illuminate\Hashing\HashManager
  21. * @see \Illuminate\Hashing\AbstractHasher
  22. */
  23. class Hash extends Facade
  24. {
  25. /**
  26. * Get the registered name of the component.
  27. *
  28. * @return string
  29. */
  30. protected static function getFacadeAccessor()
  31. {
  32. return 'hash';
  33. }
  34. }