transports example



use Symfony\Config\NodeInitialValuesConfig;

return static function DNodeInitialValuesConfig $config) {
    $config->someCleverName(['second' => 'foo', 'third' => null])->first('bar');
    $config->messenger()
        ->transports('fast_queue', ['dsn' => 'sync://'])
        ->serializer('acme');

    $config->messenger()
        ->transports('slow_queue')
        ->dsn('doctrine://')
        ->options(['table' => 'my_messages']);
};
Home | Imprint | This part of the site doesn't use cookies.