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:
67
67
</file >
68
68
</xliff >
69
69
70
+ .. code-block :: yaml
71
+
72
+ ' Hello %name% ' : Bonjour %name%
73
+
70
74
.. code-block :: php
71
75
72
76
return [
73
77
'Hello %name%' => 'Bonjour %name%',
74
78
];
75
79
76
- .. code-block :: yaml
77
-
78
- ' Hello %name% ' : Bonjour %name%
79
-
80
80
.. note ::
81
81
82
82
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
25
25
26
26
.. configuration-block ::
27
27
28
- .. code-block :: yaml
29
-
30
- # src/AppBundle/Resources/config/validation.yml
31
- AppBundle\Entity\File :
32
- properties :
33
- identifier :
34
- - Uuid : ~
35
-
36
28
.. code-block :: php-annotations
37
29
38
30
// src/AppBundle/Entity/File.php
@@ -48,6 +40,14 @@ Basic Usage
48
40
protected $identifier;
49
41
}
50
42
43
+ .. code-block :: yaml
44
+
45
+ # src/AppBundle/Resources/config/validation.yml
46
+ AppBundle\Entity\File :
47
+ properties :
48
+ identifier :
49
+ - Uuid : ~
50
+
51
51
.. code-block :: xml
52
52
53
53
<!-- src/AppBundle/Resources/config/validation.xml -->
You can’t perform that action at this time.
0 commit comments