You are right, rewriting it to use Illuminate\Support\Facades\Session.