ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CookieFactory.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\HTTP\Cookies;
4 
15 interface CookieFactory
16 {
17 
26  public function create($name, $value = null);
27 
28 
37  public function createRememberedForLongTime($name, $value = null);
38 
39 
48  public function createExpired($name);
49 
50 
58  public function fromSetCookieString($string);
59 }
fromSetCookieString($string)
Creates the cookie from the cookie string.
create($name, $value=null)
Create a new cookie with the given name and value.
Class CookieJarWrapperTest.
Definition: Cookie.php:3
createRememberedForLongTime($name, $value=null)
Create a new cookie with the given name and value which expires in 5 years.
createExpired($name)
Creates an already expired cookie.