ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.
if($format !==null) $name
Definition: metadata.php:146
Class CookieJarWrapperTest.
Definition: Cookie.php:3