GuardListener
class GuardListener
Methods
__construct($configuration, ExpressionLanguage $expressionLanguage, TokenStorageInterface $tokenStorage, AuthorizationCheckerInterface $authenticationChecker, AuthenticationTrustResolverInterface $trustResolver, RoleHierarchyInterface $roleHierarchy = null) | ||
onTransition(GuardEvent $event, $eventName) |
Details
__construct($configuration, ExpressionLanguage $expressionLanguage, TokenStorageInterface $tokenStorage, AuthorizationCheckerInterface $authenticationChecker, AuthenticationTrustResolverInterface $trustResolver, RoleHierarchyInterface $roleHierarchy = null)
Parameters
$configuration | ||
ExpressionLanguage | $expressionLanguage | |
TokenStorageInterface | $tokenStorage | |
AuthorizationCheckerInterface | $authenticationChecker | |
AuthenticationTrustResolverInterface | $trustResolver | |
RoleHierarchyInterface | $roleHierarchy |
onTransition(GuardEvent $event, $eventName)
Parameters
GuardEvent | $event | |
$eventName |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Workflow/EventListener/GuardListener.html