I'm kinda lost in using array session in Laravel 4.2. In the documentation, it says Session::push('user.teams', 'developers');.
I'm assuming that the user.team is the session name then the developers is the value. So can I do something like this,
Session::push('book.id','1234');
Session::push('book.name','Sample book');
Session::push('book.rating','5');
and I'll get it as $bookName= Session::get('book.name');
Am I doing this right? or should I just use individual sessions?