<?php

$container->loadFromExtension('framework', [
    'annotations' => false,
    'http_method_override' => false,
    'handle_all_throwables' => true,
    'php_errors' => ['log' => true],
    'messenger' => [
        'buses' => [
            'command_bus' => [
                'middleware' => [
                    [
                        'foo' => ['qux'],
                        'bar' => ['baz'],
                    ],
                ],
            ],
        ],
    ],
]);
