From a490652c316e05af5ba550aaf0446512c10d20f6 Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 8 Jul 2014 01:57:16 +0530 Subject: [PATCH] Add docblock info about options for DefaultPasswordHasher. --- src/Auth/DefaultPasswordHasher.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Auth/DefaultPasswordHasher.php b/src/Auth/DefaultPasswordHasher.php index 820f172b187..96fc19b2f77 100644 --- a/src/Auth/DefaultPasswordHasher.php +++ b/src/Auth/DefaultPasswordHasher.php @@ -25,6 +25,13 @@ class DefaultPasswordHasher extends AbstractPasswordHasher { /** * Default config for this object. * + * ### Options + * + * - `hasType` - Hashing algo to use. Valid values are those supported by `$algo` + * argument of `password_hash()`. Defaults to `PASSWORD_DEFAULT` + * - `hashOptions` - Associative array of options. Check the PHP manual for + * supported options for each hash type. Defaults to empty array. + * * @var array */ protected $_defaultConfig = [