🖥️
SIM-REST
  • Overview
  • Getting Started
  • Authentication
  • Routes
    • Methods
    • Protected Routes
  • Database
    • DB Query
  • Filter data
  • Helper
  • Session
Powered by GitBook
On this page

Was this helpful?

Session

Laravel like Session class

put() - Example of adding key & value to Session

Session::put("key",$value);

get() - Example of getting a value from Session

Session::get("key");

has() - Example of adding checking a value is exist or not

return | Boolean

Session::has("key");

forget() - Example of adding key & value to Session

Session::forget("key");

PreviousHelper

Last updated 5 years ago

Was this helpful?