\think\middlewareSessionInit

Session初始化

Summary

Methods
Properties
Constants
__construct()
handle()
end()
No public properties found
No constants found
No protected methods found
$app
$session
N/A
No private methods found
No private properties found
N/A

Properties

$app

$app : \think\App

Type

App

$session

$session : \think\Session

Type

Session

Methods

__construct()

__construct(\think\App  $app, \think\Session  $session) : mixed

Parameters

\think\App $app
\think\Session $session

Returns

mixed —

handle()

handle(\think\Request  $request, \Closure  $next) : \think\Response

Session初始化

Parameters

\think\Request $request
\Closure $next

Returns

\think\Response —

end()

end(\think\Response  $response) : mixed

Parameters

\think\Response $response

Returns

mixed —