-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
503d724
commit 87ae432
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace System\Support\Facades; | ||
|
||
use System\Security\Hashing\HashManager; | ||
|
||
/** | ||
* @method static self setDefaultDriver(\System\Security\Hashing\HashInterface $driver) | ||
* @method static self setDriver(string $driver_name, \System\Security\Hashing\HashInterface $driver) | ||
* @method static \System\Security\Hashing\HashInterface driver(?string $driver = null) | ||
* @method static array info(string $hashed_value) | ||
* @method static string make(string $value, array $options = []) | ||
* @method static bool verify(string $value, string $hashed_value, array $options = []) | ||
* @method static bool isValidAlgorithm(string $hash) | ||
*/ | ||
final class Hash extends Facade | ||
{ | ||
protected static function getAccessor() | ||
{ | ||
return HashManager::class; | ||
} | ||
} |