ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
CookieFactory.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\HTTP\Cookies;
20
32{
39 public function create(string $name, ?string $value = null): Cookie;
40
41
48 public function createRememberedForLongTime(string $name, ?string $value = null): Cookie;
49
50
57 public function createExpired(string $name): Cookie;
58
59
65 public function fromSetCookieString(string $string): Cookie;
66}
fromSetCookieString(string $string)
Creates the cookie from the cookie string.
createExpired(string $name)
Creates an already expired cookie.
create(string $name, ?string $value=null)
Create a new cookie with the given name and value.
createRememberedForLongTime(string $name, ?string $value=null)
Create a new cookie with the given name and value which expires in 5 years.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Cookie.php:19