Laravel 11.3 adds a new hasAny() method to the session. This works great when checking to see if multiple values are in the session.
@laravelnews on social:
Instagram: / laravelnews
Twitter: / laravelnews
Facebook: / laravelnews
LinkedIn: / laravel-news
All our screencasting gear:
https://laravelnews.notion.site/Scree...
➫ Business Inquires: [email protected]
----------------------------------------------------------------------
JOIN OUR WEEKLY LARAVEL NEWSLETTER
👉 https://laravel-news.com/newsletter
----------------------------------------------------------------------