class CsrfValidationListener implements EventSubscriberInterface
Methods
static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to.
__construct($fieldName, CsrfTokenManagerInterface $tokenManager, $tokenId, $errorMessage, TranslatorInterface $translator = null, $translationDomain = null, ServerParams $serverParams = null)
preSubmit(FormEvent $event)
Details
static array
getSubscribedEvents()