Csrf\CsrfToken (Component\Security)
Symfony\Component\Security\Csrf\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
public __construct(string $id, string $value)
Constructor.
public string getId()
Returns the ID of the CSRF token.
public string getValue()
Returns the value of the CSRF token.
public string __toString()
Returns the value of the CSRF token.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Csrf/CsrfToken.html