IntegrityService
Read onlyYes
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 $redirectService, SiteFinder $siteFinder, ConnectionPool $connectionPool, EventDispatcherInterface $eventDispatcher, TcaSchemaFactory $tcaSchemaFactory) : mixed
Parameters
- $redirectService : RedirectService
- $siteFinder : SiteFinder
- $connectionPool : ConnectionPool
- $eventDispatcher : EventDispatcherInterface
- $tcaSchemaFactory : TcaSchemaFactory
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>