File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ namespace Symfony \Contracts \Translation ;
13
+
14
+ /**
15
+ * @author Nicolas Grekas <p@tchwork.com>
16
+ */
17
+ interface TranslatableInterface
18
+ {
19
+ public function trans (TranslatorInterface $ translator , string $ locale = null ): string ;
20
+ }
Original file line number Diff line number Diff line change 27
27
"minimum-stability" : " dev" ,
28
28
"extra" : {
29
29
"branch-alias" : {
30
- "dev-master" : " 2.2 -dev"
30
+ "dev-master" : " 2.3 -dev"
31
31
},
32
32
"thanks" : {
33
33
"name" : " symfony/contracts" ,
You can’t perform that action at this time.
0 commit comments