123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- namespace Symfony\Component\Security\Csrf;
- class CsrfToken
- {
- private $id;
- private $value;
-
- public function __construct($id, $value)
- {
- $this->id = (string) $id;
- $this->value = (string) $value;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-
- public function __toString()
- {
- return $this->value;
- }
- }
|