PHP Class Nelmio\SecurityBundle\Session\CookieSessionHandler

Inheritance: implements SessionHandlerInterface
Exibir arquivo 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_oe property

protected $cookieName

$domain protected_oe property

protected $domain

$httpOnly protected_oe property

protected $httpOnly

$lifetime protected_oe property

protected $lifetime

$path protected_oe property

protected $path

$request protected_oe property

protected $request

$response protected_oe property

protected $response

$secure protected_oe property

protected $secure