Navigation Menu

Skip to content

Commit

Permalink
Add docblock info about options for DefaultPasswordHasher.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jul 7, 2014
1 parent 4e4c125 commit a490652
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Auth/DefaultPasswordHasher.php
Expand Up @@ -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 = [
Expand Down

0 comments on commit a490652

Please sign in to comment.