StatefulGuard

StatefulGuard interface StatefulGuard implements Guard (View source) Methods bool check() Determine if the current user is authenticated. from Guard bool guest() Determine if the current user is a guest. from Guard Authenticatable|null user() Get the currently authenticated user. from Guard int|null id() Get the ID for the currently authenticated user. from Guard bool validate(array $credentials = array()) Validate a user's credentials. from Guard void setUser(Authenti

StartSession::handle()

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

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.

StartSession::getSession()

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

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::getFacadeApplication()

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

SSH::setFacadeApplication()

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

SSH::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void

SSH::shouldReceive()

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

SSH::getFacadeRoot()

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