src/Viserio/Component/Cookie/Provider/CookieServiceProvider.php
public function getFactories(): array
    {
        return [
            JarContract::class => [self::class, 'createCookieJar'],
            'cookie'           => static function (ContainerInterface $container) {
                return $container->get(JarContract::class);
            },
            CookieJar::class => static function (ContainerInterface $container) {
                return $container->get(JarContract::class);
            },
        ];
    }
public function getFactories(): array
    {
        return [
            JarContract::class => [self::class, 'createCookieJar'],
            'cookie'           => static function (ContainerInterface $container) {
                return $container->get(JarContract::class);
            },
            CookieJar::class => static function (ContainerInterface $container) {
                return $container->get(JarContract::class);
            },
        ];
    }
{@inheritdoc}