ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (SetCookie $cookie) | |
CookieFacade constructor. More... | |
getName () | |
getValue () | |
getExpires () | |
getMaxAge () | |
getPath () | |
getDomain () | |
getSecure () | |
getHttpOnly () | |
getSamesite () | |
Cookie samesite. More... | |
withValue (string $value=null) | |
withExpires ($expires=null) | |
rememberForLongTime () | |
expire () | |
withMaxAge (int $maxAge=null) | |
withPath (string $path=null) | |
withDomain (string $domain=null) | |
withSecure (bool $secure=null) | |
withHttpOnly (bool $httpOnly=null) | |
withSamesite (string $sameSite) | |
Sets the samesite attribute. More... | |
__toString () | |
getImplementation () | |
Returns the underlying implementation. More... | |
Private Attributes | |
SetCookie | $cookie |
Additional Inherited Members | |
![]() | |
const | SAMESITE_NONE = 'None' |
const | SAMESITE_LAX = 'Lax' |
const | SAMESITE_STRICT = 'Strict' |
Definition at line 32 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::__construct | ( | SetCookie | $cookie | ) |
CookieFacade constructor.
Definition at line 39 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\CookieWrapper\$cookie.
ILIAS\HTTP\Cookies\CookieWrapper::__toString | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 224 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::expire | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 150 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\expire().
ILIAS\HTTP\Cookies\CookieWrapper::getDomain | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 87 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getExpires | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 63 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getHttpOnly | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 103 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getImplementation | ( | ) |
Returns the underlying implementation.
Only for package/service internal use!!!
Definition at line 234 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\CookieWrapper\$cookie.
ILIAS\HTTP\Cookies\CookieWrapper::getMaxAge | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 71 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getName | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 47 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getPath | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 79 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getSamesite | ( | ) |
Cookie samesite.
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 108 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getSecure | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 95 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getValue | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 55 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::rememberForLongTime | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 139 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::withDomain | ( | string | $domain = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 183 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withDomain().
ILIAS\HTTP\Cookies\CookieWrapper::withExpires | ( | $expires = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 128 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withExpires().
ILIAS\HTTP\Cookies\CookieWrapper::withHttpOnly | ( | bool | $httpOnly = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 205 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withHttpOnly().
ILIAS\HTTP\Cookies\CookieWrapper::withMaxAge | ( | int | $maxAge = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 161 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withMaxAge().
ILIAS\HTTP\Cookies\CookieWrapper::withPath | ( | string | $path = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 172 of file CookieWrapper.php.
References $path, and ILIAS\HTTP\Cookies\Cookie\withPath().
ILIAS\HTTP\Cookies\CookieWrapper::withSamesite | ( | string | $sameSite | ) |
Sets the samesite attribute.
string | $sameSite | value of the samesite attribute. Valid values are SAMESITE_LAX, SAMESITE_STRICT or SAMESITE_NONE |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 213 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::withSecure | ( | bool | $secure = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 194 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withSecure().
ILIAS\HTTP\Cookies\CookieWrapper::withValue | ( | string | $value = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 117 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withValue().
|
private |
Definition at line 34 of file CookieWrapper.php.
Referenced by ILIAS\HTTP\Cookies\CookieWrapper\__construct(), and ILIAS\HTTP\Cookies\CookieWrapper\getImplementation().