Skip to content

Commit eea087f

Browse files
committed
test(translation): Add translation extraction test fixtures
1 parent 51028c4 commit eea087f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
This template is used for translation message extraction tests
2+
<?php
3+
use Symfony\Contracts\Translation\TranslatableInterface;
4+
use Symfony\Contracts\Translation\TranslatorInterface;
5+
6+
class TransFoormer
7+
{
8+
/**
9+
* Method used to have the same name as TranslatorInterface::trans
10+
*/
11+
public function trans(string $foo): void
12+
{
13+
}
14+
}
15+
16+
$transfoormer = new TransFoormer();
17+
$transfoormer->trans('skip');

0 commit comments

Comments
 (0)