ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private 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... | |
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 | ( | private SetCookie | $cookie | ) |
ILIAS\HTTP\Cookies\CookieWrapper::__toString | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 221 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::expire | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 147 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\expire().
ILIAS\HTTP\Cookies\CookieWrapper::getDomain | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 84 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getExpires | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 60 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getHttpOnly | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 100 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getImplementation | ( | ) |
Returns the underlying implementation.
Only for package/service internal use!!!
Definition at line 231 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getMaxAge | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 68 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getName | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 44 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getPath | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 76 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getSamesite | ( | ) |
Cookie samesite.
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 105 of file CookieWrapper.php.
References null.
ILIAS\HTTP\Cookies\CookieWrapper::getSecure | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 92 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::getValue | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 52 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::rememberForLongTime | ( | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 136 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::withDomain | ( | ?string | $domain = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 180 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 125 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 202 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 158 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 169 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 210 of file CookieWrapper.php.
ILIAS\HTTP\Cookies\CookieWrapper::withSecure | ( | ?bool | $secure = null | ) |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 191 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 114 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withValue().