vendor/gesdinet/jwt-refresh-token-bundle/Entity/RefreshToken.php line 21

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the GesdinetJWTRefreshTokenBundle package.
  4. *
  5. * (c) Gesdinet <http://www.gesdinet.com/>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Gesdinet\JWTRefreshTokenBundle\Entity;
  11. use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  12. /**
  13. * Refresh Token.
  14. *
  15. * @UniqueEntity("refreshToken")
  16. */
  17. class RefreshToken extends AbstractRefreshToken
  18. {
  19. /**
  20. * @var int
  21. */
  22. protected $id;
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function getId()
  27. {
  28. return $this->id;
  29. }
  30. }