EncoderFactoryInterface
in
EncoderFactoryInterface to support different encoders for different accounts.
Tags
Table of Contents
- getEncoder() : PasswordEncoderInterface
- Returns the password encoder to use for the given account.
Methods
getEncoder()
Returns the password encoder to use for the given account.
public
getEncoder(UserInterface|string $user) : PasswordEncoderInterface
Parameters
- $user : UserInterface|string
-
A UserInterface instance or a class name