src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php
public static function createViewDisplayer(ContainerInterface $container): ViewDisplayer
    {
        return new ViewDisplayer(
            $container->get(ResponseFactoryInterface::class),
            $container->get(FactoryContract::class)
        );
    }
public static function createViewDisplayer(ContainerInterface $container): ViewDisplayer
    {
        return new ViewDisplayer(
            $container->get(ResponseFactoryInterface::class),
            $container->get(FactoryContract::class)
        );
    }
Create a new ViewDisplayer instance.

@param \Psr\Container\ContainerInterface $container

@return \Viserio\Component\Exception\Displayer\ViewDisplayer