fallbacks example



use Symfony\Config\AddToListConfig;

return static function DAddToListConfig $config) {
    $config->translator()->fallbacks(['sv', 'fr', 'es']);
    $config->translator()->source('\\Acme\\Foo', 'yellow');
    $config->translator()->source('\\Acme\\Bar', 'green');

    $config->messenger([
        'routing' => [
            'Foo\\MyArrayMessage' => [
                'senders' => ['workqueue'],
            ],
        ],
    ]);
    $config->messenger()
        
Home | Imprint | This part of the site doesn't use cookies.