Level 10
There should be a getValue() method on it: http://api.symfony.com/2.3/Symfony/Component/HttpFoundation/Cookie.html
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Couldn't debug this as am quite new to laravel. Can anyone please help? when i try to retrieve my cookie value, i get it along with the expiry time as well.
$value = $request->cookie('cookie.key'); returns cookie.key=1;expires=Mon Jun15,2021...
How to get just the value of it here?
Please or to participate in this conversation.