Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider::__construct
Constructor.
Signature
public function __construct(UserProviderInterface
$userProvider,
[UserCheckerInterface
$userChecker = true,
[EncoderFactoryInterface
$providerKey = true,
[EncoderFactoryInterface
$encoderFactory = true,
[Boolean
$hideUserNotFoundExceptions = true]]]] )
Parameters
$userProvider
— Symfony\Component\Security\Core\User\UserProviderInterface- An UserProviderInterface instance
$userChecker
— Symfony\Component\Security\Core\User\UserCheckerInterface- An UserCheckerInterface instance
$providerKey
— string- The provider key
$encoderFactory
— Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface- An EncoderFactoryInterface instance
$hideUserNotFoundExceptions
— object- Whether to hide user not found exception or not