19 declare(strict_types=1);
39 $this->name = $a_name;
42 public function setName(
string $a_name): void
44 $this->name = $a_name;
59 public function setValue(
string $a_value): void
61 $this->value = $a_value;
71 $this->expire = $a_expire;
79 public function setPath(
string $a_path): void
81 $this->path = $a_path;
91 $this->domain = $a_domain;
101 $this->secure = $a_status;
111 $this->http_only = $a_http_only;
setHttpOnly(bool $a_http_only)
__construct(string $a_name)
setDomain(string $a_domain)
setSecure(bool $a_status)
Representation of an HTTP cookie.
setValue(string $a_value)
Currently no restriction on cookie length.