Class PasswordHasherFactory
Builds password hashing objects
Method Summary
- Returns password hasher object out of a hasher name or a configuration array
Method Detail
build()source public static
build( string|array $passwordHasher )
Returns password hasher object out of a hasher name or a configuration array
Parameters
-  string|array $passwordHasher
- Name of the password hasher or an array with at least the key - classNameset to the name of the class to use
Returns
Cake\Auth\AbstractPasswordHasherPassword hasher instance
Throws
RuntimeExceptionIf password hasher class not found or it does not extend Cake\Auth\AbstractPasswordHasher
    © 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
    http://api.cakephp.org/3.2/class-Cake.Auth.PasswordHasherFactory.html