public static function createWhoopsPrettyDisplayer(ContainerInterface $container): WhoopsPrettyDisplayer
    {
        return new WhoopsPrettyDisplayer(
            $container->get(ResponseFactoryInterface::class),
            $container->get('config')
        );
    }
public static function createWhoopsPrettyDisplayer(ContainerInterface $container): WhoopsPrettyDisplayer
    {
        return new WhoopsPrettyDisplayer(
            $container->get(ResponseFactoryInterface::class),
            $container->get('config')
        );
    }
public static function createWhoopsPrettyDisplayer ( ContainerInterface $ container ) : WhoopsPrettyDisplayer { return new WhoopsPrettyDisplayer ( $ container -> get ( ResponseFactoryInterface :: class ) , $ container -> get ( 'config' ) ) ; }
Create a new WhoopsPrettyDisplayer instance.

@param \Psr\Container\ContainerInterface $container

@return \Viserio\Component\Exception\Displayer\WhoopsPrettyDisplayer
Create a new WhoopsPrettyDisplayer instance .