I want to store some information in the local browser cookie. After hours looking for a nice tutorial, I managed to store some data in a non-session cookie:
$response->headers->getCookies();
should return an array of cookies look in ResponseHeaderBag class for more information about that function