PHP Class Nelmio\SecurityBundle\Session\CookieSessionHandler

Inheritance: implements SessionHandlerInterface
Show file Open project: nelmio/NelmioSecurityBundle

Protected Properties

Property Type Description
$cookie
$cookieName
$domain
$httpOnly
$lifetime
$path
$request
$response
$secure

Public Methods

Method Description
__construct ( string $cookieName, integer $lifetime, string $path = '/', string $domain = null, boolean $secure = false, boolean $httpOnly = true, Psr\Log\LoggerInterface $logger = null )
close ( )
destroy ( $sessionId )
gc ( $maxlifetime )
onKernelRequest ( GetResponseEvent $e )
onKernelResponse ( FilterResponseEvent $e )
open ( $savePath, $sessionId )
read ( $sessionId )
write ( $sessionId, $sessionData )

Method Details

__construct() public method

public __construct ( string $cookieName, integer $lifetime, string $path = '/', string $domain = null, boolean $secure = false, boolean $httpOnly = true, Psr\Log\LoggerInterface $logger = null )
$cookieName string
$lifetime integer
$path string
$domain string
$secure boolean
$httpOnly boolean
$logger Psr\Log\LoggerInterface

close() public method

public close ( )

destroy() public method

public destroy ( $sessionId )

gc() public method

public gc ( $maxlifetime )

onKernelRequest() public method

public onKernelRequest ( GetResponseEvent $e )
$e Symfony\Component\HttpKernel\Event\GetResponseEvent

onKernelResponse() public method

public onKernelResponse ( FilterResponseEvent $e )
$e Symfony\Component\HttpKernel\Event\FilterResponseEvent

open() public method

public open ( $savePath, $sessionId )

read() public method

public read ( $sessionId )

write() public method

public write ( $sessionId, $sessionData )

Property Details

$cookieName protected property

protected $cookieName

$domain protected property

protected $domain

$httpOnly protected property

protected $httpOnly

$lifetime protected property

protected $lifetime

$path protected property

protected $path

$request protected property

protected $request

$response protected property

protected $response

$secure protected property

protected $secure