Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit105a168

Browse files
committed
Cleanups
1 parente2fd5fa commit105a168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎components/translation/custom_formats.rst‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,11 @@ built-in dumper. In this example, the translation messages defined in the YAML f
9999
are dumped into a text file with the custom format::
100100

101101
use Symfony\Component\Translation\Loader\YamlFileLoader;
102-
use RaulFraile\Dumper\CustomDumper;
103102

104103
include_once __DIR__. '/vendor/autoload.php';
105104

106105
$loader = new YamlFileLoader();
107106
$catalogue = $loader->load(__DIR__ . '/translations/messages.es_ES.yml' , 'es_ES');
108107

109-
$dumper = newCustomDumper();
108+
$dumper = newMyFormatDumper();
110109
$dumper->dump($catalogue, array('path' => __DIR__.'/dumps'));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp