app->singleton('hash', function () { return new BcryptHasher; }); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return ['hash']; } }