Support the ongoing development of Laravel.io →
posted 9 years ago
Session
Last updated 2 years ago.
0

You can access the entire array by doing this:

$data = session ()->get ( 'protectedData' );

You can also access the key value pairings within the array using the dot notation.

$data = session ()->get ( 'protectedData.JwtToken' );
0

Sign in to participate in this thread!

Eventy

Your banner here too?

OFranke ofranke Joined 8 Oct 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.