CleanupPreviewLinksCommand extends Command
Removes unused records from sys_preview
Attributes
- #[AsCommand]
- 'cleanup:previewlinks'
- 'Find all versioned records and possibly cleans up invalid records in the database.'
Table of Contents
Methods
- __construct() : mixed
- configure() : mixed
- Configuring the command options
- execute() : int
- Executes the command to find versioned records
Methods
__construct()
public
__construct(ConnectionPool $connectionPool) : mixed
Parameters
- $connectionPool : ConnectionPool
configure()
Configuring the command options
public
configure() : mixed
execute()
Executes the command to find versioned records
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface