CheckIntegrityCommand extends Command
Attributes
- #[AsCommand]
- 'redirects:checkintegrity'
- 'Check integrity of redirects'
Table of Contents
Constants
- REGISTRY_KEY_CONFLICTING_REDIRECTS = 'conflicting_redirects'
- REGISTRY_KEY_LAST_TIMESTAMP_CHECK_INTEGRITY = 'redirects_check_integrity_last_check'
Methods
- __construct() : mixed
- configure() : void
- execute() : int
- Executes the command for checking for conflicting redirects
Constants
REGISTRY_KEY_CONFLICTING_REDIRECTS
public
mixed
REGISTRY_KEY_CONFLICTING_REDIRECTS
= 'conflicting_redirects'
REGISTRY_KEY_LAST_TIMESTAMP_CHECK_INTEGRITY
public
mixed
REGISTRY_KEY_LAST_TIMESTAMP_CHECK_INTEGRITY
= 'redirects_check_integrity_last_check'
Methods
__construct()
public
__construct(Registry $registry, IntegrityService $integrityService) : mixed
Parameters
- $registry : Registry
- $integrityService : IntegrityService
configure()
protected
configure() : void
execute()
Executes the command for checking for conflicting redirects
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface