Skip to content

Remove Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory #146

@vjik

Description

@vjik

It needs to remove deprecated Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory and change configuration:

ThrowableResponseFactoryInterface::class => [
    'class' => \Yiisoft\ErrorHandler\ThrowableResponseFactory::class,
    '__construct()' => [
        'rendererProvider' => DynamicReference::to(
            static fn(ContainerInterface $container) => new CompositeRendererProvider(
                new HeadRendererProvider(),
                new ContentTypeRendererProvider($container),
            )
        ),
    ],
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions