CsrfToken
CsrfToken
class CsrfToken
A CSRF token.
Methods
__construct(string $id, string $value) Constructor. | ||
string | getId() Returns the ID of the CSRF token. | |
string | getValue() Returns the value of the CSRF token. | |
string | __toString() Returns the value of the CSRF token. |
Details
__construct(string $id, string $value)
Constructor.
string getId()
Returns the ID of the CSRF token.
string getValue()
Returns the value of the CSRF token.
string __toString()
Returns the value of the CSRF token.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Csrf/CsrfToken.html