36     public function create(
string $name, 
string $value = null): 
Cookie;
 fromSetCookieString(string $string)
Creates the cookie from the cookie string. 
 
createExpired(string $name)
Creates an already expired cookie. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
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.