File tree Expand file tree Collapse file tree 2 files changed +0
-37
lines changed
Expand file tree Collapse file tree 2 files changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -28,28 +28,6 @@ The following constraints ensure that:
2828
2929.. configuration-block ::
3030
31- .. code-block :: php-annotations
32-
33- // src/Entity/Order.php
34- namespace App\Entity;
35-
36- use Symfony\Component\Validator\Constraints as Assert;
37-
38- class Order
39- {
40- /**
41- * @Assert\ExpressionSyntax
42- */
43- protected $promotion;
44-
45- /**
46- * @Assert\ExpressionSyntax(
47- * allowedVariables={"user", "shipping_centers"}
48- * )
49- */
50- protected $shippingOptions;
51- }
52-
5331 .. code-block :: php-attributes
5432
5533 // src/Entity/Order.php
Original file line number Diff line number Diff line change @@ -109,21 +109,6 @@ collection::
109109
110110.. configuration-block ::
111111
112- .. code-block :: php-annotations
113-
114- // src/Entity/Poi.php
115- namespace App\Entity;
116-
117- use Symfony\Component\Validator\Constraints as Assert;
118-
119- class Poi
120- {
121- /**
122- * @Assert\Unique(fields={"latitude", "longitude"})
123- */
124- protected $coordinates;
125- }
126-
127112 .. code-block :: php-attributes
128113
129114 // src/Entity/Poi.php
You can’t perform that action at this time.
0 commit comments