Nelmio\SecurityBundle\Session\CookieSessionHandler::__construct PHP Method

__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
    public function __construct($cookieName, $lifetime = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true, LoggerInterface $logger = null)
    {
        $this->cookieName = $cookieName;
        $this->path = $path;
        $this->domain = $domain;
        $this->lifetime = (int) $lifetime;
        $this->secure = $secure;
        $this->httpOnly = $httpOnly;
        $this->logger = $logger;
    }