File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,16 @@ is done just as before:
6767 </file >
6868 </xliff >
6969
70+ .. code-block :: yaml
71+
72+ ' Hello %name% ' : Bonjour %name%
73+
7074 .. code-block :: php
7175
7276 return [
7377 'Hello %name%' => 'Bonjour %name%',
7478 ];
7579
76- .. code-block :: yaml
77-
78- ' Hello %name% ' : Bonjour %name%
79-
8080 .. note ::
8181
8282 The placeholders can take on any form as the full message is reconstructed
Original file line number Diff line number Diff line change @@ -25,14 +25,6 @@ Basic Usage
2525
2626.. configuration-block ::
2727
28- .. code-block :: yaml
29-
30- # src/AppBundle/Resources/config/validation.yml
31- AppBundle\Entity\File :
32- properties :
33- identifier :
34- - Uuid : ~
35-
3628 .. code-block :: php-annotations
3729
3830 // src/AppBundle/Entity/File.php
@@ -48,6 +40,14 @@ Basic Usage
4840 protected $identifier;
4941 }
5042
43+ .. code-block :: yaml
44+
45+ # src/AppBundle/Resources/config/validation.yml
46+ AppBundle\Entity\File :
47+ properties :
48+ identifier :
49+ - Uuid : ~
50+
5151 .. code-block :: xml
5252
5353 <!-- src/AppBundle/Resources/config/validation.xml -->
You can’t perform that action at this time.
0 commit comments