W3cubDocs

/Symfony 4.1

CsrfRuntime

class CsrfRuntime

Methods

__construct(CsrfTokenManagerInterface $csrfTokenManager)
string getCsrfToken(string $tokenId)

Details

__construct(CsrfTokenManagerInterface $csrfTokenManager)

Parameters

CsrfTokenManagerInterface $csrfTokenManager

string getCsrfToken(string $tokenId)

Parameters

string $tokenId

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/CsrfRuntime.html