RedirectStatus implements StatusProviderInterface, RequestAwareStatusProviderInterface

Performs checks regarding redirects

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Interfaces

StatusProviderInterface
Interface for classes which provide a status report entry.
RequestAwareStatusProviderInterface
Interface for classes which provide a status report entry using information from the current request

Properties

$backendViewFactory  : BackendViewFactory
$checkIntegrityConfiguration  : CheckIntegrityConfiguration
$redirectRepository  : RedirectRepository
$registry  : Registry

Methods

__construct()  : mixed
getLabel()  : string
Return label of this status
getStatus()  : array<string|int, Status>
Determines the status of redirect conflicts and shows an info status in some cases in case redirects:checkintegrity was not run lately.
getCheckIntegrityLastCheckTimestamp()  : int
getConflictingRedirects()  : array<string|int, mixed>
getConflictingRedirectsStatus()  : Status
getLanguageService()  : LanguageService
getLastCheckIntegrityStatus()  : Status|null
getNoRedirectsStatus()  : Status

Properties

Methods

getLabel()

Return label of this status

public getLabel() : string
Return values
string

getStatus()

Determines the status of redirect conflicts and shows an info status in some cases in case redirects:checkintegrity was not run lately.

public getStatus([ServerRequestInterface|null $request = null ]) : array<string|int, Status>

OK if no redirects OR no redirect conflicts WARNING if conflicts found

Additionally: INFO if checkintegrity was not run and redirects exist

Parameters
$request : ServerRequestInterface|null = null
Return values
array<string|int, Status>

getCheckIntegrityLastCheckTimestamp()

protected getCheckIntegrityLastCheckTimestamp() : int
Return values
int

getConflictingRedirects()

protected getConflictingRedirects() : array<string|int, mixed>
Return values
array<string|int, mixed>

getConflictingRedirectsStatus()

protected getConflictingRedirectsStatus(ServerRequestInterface $request) : Status
Parameters
$request : ServerRequestInterface
Return values
Status

getLastCheckIntegrityStatus()

protected getLastCheckIntegrityStatus() : Status|null
Return values
Status|null

getNoRedirectsStatus()

protected getNoRedirectsStatus(ServerRequestInterface $request) : Status
Parameters
$request : ServerRequestInterface
Return values
Status

        
On this page

Search results