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

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

True

2.3 version
Unmaintained

TrueΒΆ

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.