ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CookieFactory.php
Go to the documentation of this file.
1<?php
2
3namespace ILIAS\HTTP\Cookies;
4
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}
An exception for terminatinating execution or to throw for unit testing.
createRememberedForLongTime($name, $value=null)
Create a new cookie with the given name and value which expires in 5 years.
fromSetCookieString($string)
Creates the cookie from the cookie string.
create($name, $value=null)
Create a new cookie with the given name and value.
createExpired($name)
Creates an already expired cookie.
Class CookieJarWrapperTest.
Definition: Cookie.php:3