Hello,
I'm trying to understand how FigRequestCookies::get() works.
By looking at the code, I noticed that it is not using ServerRequesInterface::getCookieParams() .
Is there anyone who could explain that?
Basically, what are the differences between:
$cookie = FigRequestCookies::get($request, 'foo');
vs
$cookie = $request->getCookieParams()['foo'];
Thank you.