1/**
2 * Static method
3 */
4Session::put('key', $value); // Set session variable
5Session::get('key') // Get session variable
6
7/**
8 * Instance method
9 */
10session(['key' => $value]); // Set session variable
11session('key'); // Get session variable