| 1 | <?php |
||
| 33 | class RefreshToken extends AbstractRefreshToken |
||
| 34 | { |
||
| 35 | /** |
||
| 36 | * @var int |
||
| 37 | * |
||
| 38 | * @ORM\Column(name="id", type="integer") |
||
| 39 | * @ORM\Id |
||
| 40 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 41 | */ |
||
| 42 | protected $id; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var \DateTimeImmutable |
||
| 46 | * |
||
| 47 | * @ORM\Column(type="datetimetz_immutable") |
||
| 48 | * |
||
| 49 | * @Assert\Type("\DateTimeImmutable") |
||
| 50 | */ |
||
| 51 | private $createdAt; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Constructor. |
||
| 55 | */ |
||
| 56 | public function __construct() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritdoc} |
||
| 63 | */ |
||
| 64 | public function getId() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return \DateTimeImmutable |
||
| 71 | */ |
||
| 72 | public function getCreatedAt(): \DateTimeImmutable |
||
| 76 | } |
||
| 77 |