2017-04-14 35 views

回答

0

尝试将Assert添加到实体类中的属性。

退房这样的断言:http://symfony.com/doc/current/validation.html

而这一次的正则表达式:http://symfony.com/doc/current/reference/constraints/Regex.html

+0

我的问题是,以显示你跟我自己的CSS – Christophegonfrere

+0

这里定制的特定错误消息:HTTP:// symfony的。 com/doc/current/reference/constraints/Regex.html#message – Richard

+0

请模式工作正常我的问题是显示o = r覆盖错误消息 – Christophegonfrere

相关问题