1 | <?php |
||
7 | class FixedTokenGenerator implements TokenGenerator |
||
8 | { |
||
9 | /** @var string */ |
||
10 | private $token; |
||
11 | |||
12 | /** |
||
13 | * FixedTokenGenerator constructor. |
||
14 | * |
||
15 | * @param string $token The token to return |
||
16 | */ |
||
17 | 3 | public function __construct($token) |
|
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | 3 | public function generateToken() |
|
29 | } |
||
30 |