public static function createCookieJar(ContainerInterface $container): JarContract
    {
        $options = self::resolveOptions($container->get('config'));

        return (new CookieJar())->setDefaultPathAndDomain(
            $options['path'],
            $options['domain'],
            $options['secure']
        );
    }