Repository URL to install this package:
|
Version:
6.2.10 ▾
|
<?php
namespace DigitalAscetic\BaseUserBundle\Service;
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
interface UserManagerInterface extends PasswordUpgraderInterface
{
public function findUser(string $usernameOrEmail): ?UserInterface;
public function findUserBy(array $criteria): ?UserInterface;
public function updatePassword(PasswordAuthenticatedUserInterface $user, string $plainPassword): void;
public function updateUser(PasswordAuthenticatedUserInterface $user, $flush = true): void;
}