Icicle\Http\Message\Cookie\SetCookie::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $name, string $value = '', integer $expires, string $path = null, string $domain = null, boolean $secure = false, boolean $httpOnly = false )
$name string
$value string
$expires integer
$path string
$domain string
$secure boolean
$httpOnly boolean
    public function __construct(string $name, $value = '', int $expires = 0, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = false)
    {
        parent::__construct($name, $value);
        $this->expires = $expires;
        $this->path = $this->filterValue($path);
        $this->domain = $this->filterValue($domain);
        $this->secure = $secure;
        $this->httpOnly = $httpOnly;
    }