IntegrityService
Checks for redirects that conflict with existing pages
Table of Contents
Methods
- __construct() : mixed
- findConflictingRedirects() : Generator
- Resolves all conflicting redirects
- setIntegrityStatus() : void
Methods
__construct()
public
__construct([RedirectService|null $redirectService = null ][, SiteFinder|null $siteFinder = null ]) : mixed
Parameters
- $redirectService : RedirectService|null = null
- $siteFinder : SiteFinder|null = null
findConflictingRedirects()
Resolves all conflicting redirects
public
findConflictingRedirects([string|null $siteIdentifier = null ]) : Generator
Parameters
- $siteIdentifier : string|null = null
Return values
GeneratorsetIntegrityStatus()
public
setIntegrityStatus(array<string|int, mixed> $redirect) : void
Parameters
- $redirect : array<string|int, mixed>