Метод | Описание | |
---|---|---|
__construct ( |
||
getUser ( ) | ||
loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\UserInterface | Loads the user for the given username. | |
refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user ) : Symfony\Component\Security\Core\User\UserInterface | Refreshes the user for the account interface. | |
supportsClass ( string $class ) : boolean | Whether this provider supports the given user class. |
Метод | Описание | |
---|---|---|
setCredentials ( Symfony\Component\Security\Core\User\UserInterface $user ) | Sets the standard credentials for the user. |
public __construct ( |
||
$entityManager | ||
$contactRepository | Sulu\Component\Contact\Model\ContactRepositoryInterface | |
$userRepository | Sulu\Component\Security\Authentication\UserRepositoryInterface |
public loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\UserInterface | ||
$username | string | The username |
Результат | Symfony\Component\Security\Core\User\UserInterface |
public refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user ) : Symfony\Component\Security\Core\User\UserInterface | ||
$user | Symfony\Component\Security\Core\User\UserInterface | |
Результат | Symfony\Component\Security\Core\User\UserInterface |
public supportsClass ( string $class ) : boolean | ||
$class | string | |
Результат | boolean |