PHP 클래스 Autarky\Http\SessionMiddleware

상속: implements Symfony\Component\HttpKernel\HttpKernelInterface
파일 보기 프로젝트 열기: autarky/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$cookies array Additional cookie parameters to add to the session ID cookie.
$forceStart boolean Whether the sessions should always be started. Normal behaviour is to start the sesion whenever an operation is requested from it.
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$session Symfony\Component\HttpFoundation\Session\SessionInterface

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Application $app )
handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )

보호된 메소드들

메소드 설명
closeSession ( Request $request, Response $response )
initSession ( Request $request )
makeCookie ( Request $request )

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Application $app )
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$app Autarky\Application

closeSession() 보호된 메소드

protected closeSession ( Request $request, Response $response )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response

handle() 공개 메소드

public handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )
$request Symfony\Component\HttpFoundation\Request

initSession() 보호된 메소드

protected initSession ( Request $request )
$request Symfony\Component\HttpFoundation\Request

makeCookie() 보호된 메소드

protected makeCookie ( Request $request )
$request Symfony\Component\HttpFoundation\Request

프로퍼티 상세

$cookies 보호되어 있는 프로퍼티

Additional cookie parameters to add to the session ID cookie.
protected array $cookies
리턴 array

$forceStart 보호되어 있는 프로퍼티

Whether the sessions should always be started. Normal behaviour is to start the sesion whenever an operation is requested from it.
protected bool $forceStart
리턴 boolean

$kernel 보호되어 있는 프로퍼티

protected HttpKernelInterface,Symfony\Component\HttpKernel $kernel
리턴 Symfony\Component\HttpKernel\HttpKernelInterface

$session 보호되어 있는 프로퍼티

protected SessionInterface,Symfony\Component\HttpFoundation\Session $session
리턴 Symfony\Component\HttpFoundation\Session\SessionInterface