File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 19
19
trait ResetPasswordRequestTrait
20
20
{
21
21
/**
22
+ * @var string
23
+ *
22
24
* @ORM\Column(type="string", length=20)
23
25
*/
24
26
#[ORM \Column(type: Types::STRING , length: 20 )]
25
27
protected $ selector ;
26
28
27
29
/**
30
+ * @var string
31
+ *
28
32
* @ORM\Column(type="string", length=100)
29
33
*/
30
34
#[ORM \Column(type: Types::STRING , length: 100 )]
31
35
protected $ hashedToken ;
32
36
33
37
/**
38
+ * @var \DateTimeImmutable
39
+ *
34
40
* @ORM\Column(type="datetime_immutable")
35
41
*/
36
42
#[ORM \Column(type: Types::DATETIME_IMMUTABLE )]
37
43
protected $ requestedAt ;
38
44
39
45
/**
46
+ * @var \DateTimeInterface
47
+ *
40
48
* @ORM\Column(type="datetime_immutable")
41
49
*/
42
50
#[ORM \Column(type: Types::DATETIME_IMMUTABLE )]
43
51
protected $ expiresAt ;
44
52
53
+ /** @return void */
45
54
protected function initialize (\DateTimeInterface $ expiresAt , string $ selector , string $ hashedToken )
46
55
{
47
56
$ this ->requestedAt = new \DateTimeImmutable ('now ' );
You can’t perform that action at this time.
0 commit comments