True
Warning: You are browsing the documentation for Symfony 2.x, which is no longer maintained.
Consider upgrading your projects to Symfony 7.1.
Caution
The True
constraint is deprecated since Symfony 2.7
and will be removed in Symfony 3.0. Use the
IsTrue constraint instead.
This work, including the code samples, is licensed under a
Creative Commons BY-SA 3.0 license.