123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /*
- * This file is part of the Sonata Project package.
- *
- * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Sonata\UserBundle\Model;
- interface UserInterface extends \FOS\UserBundle\Model\UserInterface
- {
- const GENDER_FEMALE = 'f';
- const GENDER_MALE = 'm';
- /**
- * NEXT_MAJOR: remove this constant.
- */
- const GENDER_MAN = 'm'; // @deprecated
- const GENDER_UNKNOWN = 'u';
- /**
- * @return string
- */
- public function getTwoStepVerificationCode();
- /**
- * @param string $code
- *
- * @return string
- */
- public function setTwoStepVerificationCode($code);
- }
|