1 | <?php |
||
12 | class TokenNotFoundEvent extends Event |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $purpose; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $value; |
||
23 | |||
24 | /** |
||
25 | * @param string $purpose The token purpose |
||
26 | * @param string $value The token value |
||
27 | */ |
||
28 | 1 | public function __construct($purpose, $value) |
|
33 | |||
34 | /** |
||
35 | * The token purpose |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | 1 | public function getPurpose() |
|
43 | |||
44 | /** |
||
45 | * The token value |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | 1 | public function getValue() |
|
53 | } |
||
54 |