File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -159,17 +159,6 @@ following code:
159
159
160
160
.. configuration-block ::
161
161
162
- .. code-block :: yaml
163
-
164
- # src/Acme/BlogBundle/Resources/config/validation.yml
165
- Acme\BlogBundle\Entity\Author
166
- properties :
167
- headshot :
168
- - Image :
169
- allowLandscape : false
170
- allowPortrait : false
171
-
172
-
173
162
.. code-block :: php-annotations
174
163
175
164
// src/Acme/BlogBundle/Entity/Author.php
@@ -188,6 +177,16 @@ following code:
188
177
protected $headshot;
189
178
}
190
179
180
+ .. code-block :: yaml
181
+
182
+ # src/Acme/BlogBundle/Resources/config/validation.yml
183
+ Acme\BlogBundle\Entity\Author
184
+ properties :
185
+ headshot :
186
+ - Image :
187
+ allowLandscape : false
188
+ allowPortrait : false
189
+
191
190
.. code-block :: xml
192
191
193
192
<!-- src/Acme/BlogBundle/Resources/config/validation.xml -->
You can’t perform that action at this time.
0 commit comments