src/Viserio/Component/Cookie/Provider/CookieServiceProvider.php
public static function createCookieJar(ContainerInterface $container): JarContract
    {
        $options = self::resolveOptions($container->get('config'));

        return (new CookieJar())->setDefaultPathAndDomain(
            $options['path'],
            $options['domain'],
            $options['secure']
        );
    }
public static function createCookieJar(ContainerInterface $container): JarContract
    {
        $options = self::resolveOptions($container->get('config'));

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

@param \Psr\Container\ContainerInterface $container

@return \Viserio\Component\Contract\Cookie\QueueingFactory