Core\Encoder\EncoderFactoryInterface (Component\Security)
Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface
interface EncoderFactoryInterface
EncoderFactoryInterface to support different encoders for different accounts.
Methods
PasswordEncoderInterface | getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. |
Details
public PasswordEncoderInterface getEncoder(UserInterface|string $user)
Returns the password encoder to use for the given account.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Core/Encoder/EncoderFactoryInterface.html