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