Class PasswordHasherFactory
Builds password hashing objects
        
    Namespace: Cake\Auth
    
    
    
      
  
  
        Method Summary
- 
          build() public staticReturns password hasher object out of a hasher name or a configuration array 
Method Detail
build() ΒΆ public static
build(string|array $passwordHasher): Cake\Auth\AbstractPasswordHasherReturns 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
