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:
28
28
29
29
.. configuration-block ::
30
30
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
-
53
31
.. code-block :: php-attributes
54
32
55
33
// src/Entity/Order.php
Original file line number Diff line number Diff line change @@ -109,21 +109,6 @@ collection::
109
109
110
110
.. configuration-block ::
111
111
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
-
127
112
.. code-block :: php-attributes
128
113
129
114
// src/Entity/Poi.php
You can’t perform that action at this time.
0 commit comments