StartSession::terminate()

void terminate(Request $request, Response $response) Perform any final actions for the request lifecycle. Parameters Request $request Response $response Return Value void

StartSession::handle()

mixed handle(Request $request, Closure $next) Handle an incoming request. Parameters Request $request Closure $next Return Value mixed

StartSession::getSession()

SessionInterface getSession(Request $request) Get the session implementation from the manager. Parameters Request $request Return Value SessionInterface

StartSession

StartSession class StartSession (View source) Methods void __construct(SessionManager $manager) Create a new session middleware. mixed handle(Request $request, Closure $next) Handle an incoming request. void terminate(Request $request, Response $response) Perform any final actions for the request lifecycle. SessionInterface getSession(Request $request) Get the session implementation from the manager.

SSH::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

SSH::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

SSH::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

SSH::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

SSH::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed

SSH::getFacadeApplication()

static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application