SignalTrait
Requires in the host class: - `$this->httpRequest` (`IRequest`) - `$this->sessionKey` (string) - `$this->expiration` (`?DateTimeInterface`) - `$this->declineFallbackUrl` (string) - `$this->translator` - `$this->translatorDomain` - `hasConsent(): bool` - `getSection(): SessionSection`
Table of Contents
Methods
- handleConsent() : void
- handleDecline() : void
- resolveBackUrl() : string
- isSameHostUrl() : bool
Methods
handleConsent()
public
handleConsent() : void
handleDecline()
public
handleDecline([string $backUrl = '' ]) : void
Parameters
- $backUrl : string = ''
resolveBackUrl()
protected
resolveBackUrl() : string
Return values
stringisSameHostUrl()
private
isSameHostUrl(string $url) : bool
Parameters
- $url : string