| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ResetPasswordRequest implements ResetPasswordRequestInterface |
||
| 13 | { |
||
| 14 | use ResetPasswordRequestTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @ORM\Id() |
||
| 18 | * @ORM\GeneratedValue() |
||
| 19 | * @ORM\Column(type="integer") |
||
| 20 | */ |
||
| 21 | protected $id; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\User") |
||
| 25 | */ |
||
| 26 | protected $user; |
||
| 27 | |||
| 28 | public function __construct(object $user, \DateTimeInterface $expiresAt, string $selector, string $hashedToken) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getId() |
||
| 35 | { |
||
| 36 | return $this->id; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getUser(): object |
||
| 42 | } |
||
| 43 | } |
||
| 44 |