Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class ResetPasswordRequest implements ResetPasswordRequestInterface |
||
14 | { |
||
15 | use ResetPasswordRequestTrait; |
||
16 | |||
17 | /** |
||
18 | * @ORM\Id |
||
19 | * @ORM\GeneratedValue |
||
20 | * @ORM\Column(type="integer") |
||
21 | */ |
||
22 | private $id; |
||
23 | |||
24 | /** |
||
25 | * @ORM\ManyToOne(targetEntity=User::class) |
||
26 | * @ORM\JoinColumn(nullable=false) |
||
27 | */ |
||
28 | private $user; |
||
29 | |||
30 | public function __construct(object $user, \DateTimeInterface $expiresAt, string $selector, string $hashedToken) |
||
34 | } |
||
35 | |||
36 | public function getId(): ?int |
||
39 | } |
||
40 | |||
41 | public function getUser(): object |
||
46 |