Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 Symfony 中采用默认的安全方法来进行表单和实体验证?也就是说,如果您不手动定义某些验证器,应用一组限制性默认值?(例如,如果您有一个文本字段,并且您没有指定最大长度,则自动应用最大长度 32。)
there is no defalut validation in symfony while you can do with annonation like * @ORM\Column(name="height", type="decimal", nullable=true)