EncoderFactory
EncoderFactory
class EncoderFactory implements EncoderFactoryInterface
A generic encoder factory implementation.
Methods
__construct(array $encoders) | ||
PasswordEncoderInterface | getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. |
Details
__construct(array $encoders)
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.1/Symfony/Component/Security/Core/Encoder/EncoderFactory.html