Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 ( |
Метод | Описание | |
---|---|---|
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 | |
Результат |
protected AuthorizationCheckerInterface,Symfony\Component\Security\Core\Authorization $authorizationChecker | ||
Результат | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface |
protected UserImpersonatorInterface,Sylius\Bundle\CoreBundle\Security $impersonator | ||
Результат | Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface |
protected RouterInterface,Symfony\Component\Routing $router | ||
Результат | Symfony\Component\Routing\RouterInterface |