‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Http\CookieScopeTrait Class Reference
Inheritance diagram for TYPO3\CMS\Core\Http\CookieScopeTrait:
TYPO3\CMS\Core\Http\SetCookieService

Private Member Functions

 getCookieScope (NormalizedParams $normalizedParams)
 

Detailed Description

Definition at line 20 of file CookieScopeTrait.php.

Member Function Documentation

◆ getCookieScope()

TYPO3\CMS\Core\Http\CookieScopeTrait::getCookieScope ( NormalizedParams  $normalizedParams)
private

Returns the domain and path to be used for setting cookies. The information is taken from the value in $GLOBALS['TYPO3_CONF_VARS']['SYS']['cookieDomain'] if set, otherwise the normalized request params are used.

Definition at line 27 of file CookieScopeTrait.php.

References $GLOBALS, TYPO3\CMS\Core\Http\NormalizedParams\getRequestHostOnly(), and TYPO3\CMS\Core\Http\NormalizedParams\getSitePath().

Referenced by TYPO3\CMS\Core\Http\SetCookieService\removeCookie(), and TYPO3\CMS\Core\Http\SetCookieService\setSessionCookie().