Skip to content

Commit 105a168

Browse files
committed
Cleanups
1 parent e2fd5fa commit 105a168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/translation/custom_formats.rst

+1-2
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 = new CustomDumper();
108+
$dumper = new MyFormatDumper();
110109
$dumper->dump($catalogue, array('path' => __DIR__.'/dumps'));

0 commit comments

Comments
 (0)