You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
356 B
15 lines
356 B
<?php |
|
namespace App\Providers; |
|
|
|
use Illuminate\Hashing\HashServiceProvider; |
|
use App\Libs\CustomHash\CustomHasher as CustomHasher; |
|
|
|
class CustomHashServiceProvider extends HashServiceProvider |
|
{ |
|
public function register() |
|
{ |
|
$this->app->singleton('hash', function () { |
|
return new CustomHasher; |
|
}); |
|
} |
|
}
|
|
|