\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

Methods

__construct()

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

Parameters

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

handle()

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

Session初始化

Parameters

\think\Request $request
\Closure $next

Returns

\think\Response

end()

end(\think\Response  $response) 

Parameters

\think\Response $response