Version: 2.7
Edit this page

Warning: You are browsing the documentation for Symfony 2.7, which is no longer maintained.

Read the updated version of this page for Symfony 6.0 (the current stable version).



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.