Returning an Instance of \Illuminate\Session\SessionManager | Laravel 5: Accessing and Manipulating Session Data With session
To return an instance of the \Illuminate\Session\SessionManager class, set the $key parameter to null . If the $key parameter is set to null , the $default parameter is completely ignored. 1 // Get the SessionManager instance. 2 $ sessionManager =...