UserInterface.php 571 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Sonata project.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  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 Sonata\UserBundle\Model;
  11. interface UserInterface extends \FOS\UserBundle\Model\UserInterface
  12. {
  13. /**
  14. * @return string
  15. */
  16. public function getTwoStepVerificationCode();
  17. /**
  18. * @param string $code
  19. *
  20. * @return string
  21. */
  22. public function setTwoStepVerificationCode($code);
  23. }