Свойство | Type | Description | |
---|---|---|---|
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | ||
$authorizationRole | string | ||
$impersonator | Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface | ||
$router | Symfony\Component\Routing\RouterInterface | ||
$userProvider | Sylius\Bundle\UserBundle\Provider\UserProviderInterface |
Méthode | Description | |
---|---|---|
__construct ( Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface $impersonator, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Sylius\Bundle\UserBundle\Provider\UserProviderInterface $userProvider, Symfony\Component\Routing\RouterInterface $router, string $authorizationRole ) | ||
impersonateAction ( |
Méthode | Description | |
---|---|---|
addFlash ( |
public __construct ( Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface $impersonator, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Sylius\Bundle\UserBundle\Provider\UserProviderInterface $userProvider, Symfony\Component\Routing\RouterInterface $router, string $authorizationRole ) | ||
$impersonator | Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface | |
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | |
$userProvider | Sylius\Bundle\UserBundle\Provider\UserProviderInterface | |
$router | Symfony\Component\Routing\RouterInterface | |
$authorizationRole | string |
public impersonateAction ( |
||
$request | ||
$username | string | |
Résultat |
protected AuthorizationCheckerInterface,Symfony\Component\Security\Core\Authorization $authorizationChecker | ||
Résultat | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface |
protected UserImpersonatorInterface,Sylius\Bundle\CoreBundle\Security $impersonator | ||
Résultat | Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface |
protected RouterInterface,Symfony\Component\Routing $router | ||
Résultat | Symfony\Component\Routing\RouterInterface |