'x-symfony' =>
['3.4'
]] );
$cookie = Cookie::
create('city', 'Lille',
new \
DateTime('Wed, 13 Jan 2021 22:23:01 GMT'
));
$sfResponse->headers->
setCookie($cookie);
$body = Psr7Stream::
create();
$status = 302;
$headers =
[ 'location' =>
['http://example.com/'
],
];
$zendResponse =
new Psr7Response($status,
$headers,
$body);
$nyholmFactory =
new Psr17Factory();
$psr17Factory =
new PsrHttpFactory($nyholmFactory,
$nyholmFactory,
$nyholmFactory,
$nyholmFactory);
$symfonyFactory =
new HttpFoundationFactory();
return [ [$sfResponse,
$psr17Factory,
$symfonyFactory],
[$zendResponse,
$symfonyFactory,
$psr17Factory],
];
}