We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3ee5e commit f9b1122Copy full SHA for f9b1122
reference/constraints/Callback.rst
@@ -255,6 +255,10 @@ constructor of the Callback constraint::
255
// src/AppBundle/Entity/Author.php
256
namespace AppBundle\Entity;
257
258
+ use Symfony\Component\Validator\Context\ExecutionContextInterface;
259
+ // if you're using the older 2.4 validation API, you'll need this instead
260
+ // use Symfony\Component\Validator\ExecutionContextInterface;
261
+
262
use Symfony\Component\Validator\Mapping\ClassMetadata;
263
use Symfony\Component\Validator\Constraints as Assert;
264
0 commit comments