We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i use
use Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber as AssertPhoneNumber; /** * @var string * * @ORM\Column(name="phone", type="text", nullable=false) * @AssertPhoneNumber(type="mobile") */ private $phone = '';
but they don't work:`
$user = new User(); $user->setPhone("qwerty"); $userManager->saveUser($user, "qwe");
create user with bad phone... what i need to validate phone in entity?
The text was updated successfully, but these errors were encountered:
Use validator component. It's not triggering automatically on persist or other events.
persist
Sorry, something went wrong.
No branches or pull requests
i use
but they don't work:`
create user with bad phone...
what i need to validate phone in entity?
The text was updated successfully, but these errors were encountered: