‪TYPO3CMS  11.5
TYPO3\CMS\Workspaces\Command\CleanupPreviewLinksCommand Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Command\CleanupPreviewLinksCommand:

Public Member Functions

 __construct (ConnectionPool $connectionPool)
 
 configure ()
 

Protected Member Functions

int execute (InputInterface $input, OutputInterface $output)
 

Private Attributes

ConnectionPool $connectionPool
 

Detailed Description

Removes unused records from sys_preview

Definition at line 30 of file CleanupPreviewLinksCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Command\CleanupPreviewLinksCommand::__construct ( ConnectionPool  $connectionPool)

Member Function Documentation

◆ configure()

TYPO3\CMS\Workspaces\Command\CleanupPreviewLinksCommand::configure ( )

Configuring the command options

Definition at line 45 of file CleanupPreviewLinksCommand.php.

◆ execute()

int TYPO3\CMS\Workspaces\Command\CleanupPreviewLinksCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the command to find versioned records

Parameters
InputInterface$input
OutputInterface$output
Returns
‪int

Definition at line 57 of file CleanupPreviewLinksCommand.php.

References $GLOBALS, $output, and TYPO3\CMS\Core\Database\Connection\PARAM_INT.

Member Data Documentation

◆ $connectionPool

ConnectionPool TYPO3\CMS\Workspaces\Command\CleanupPreviewLinksCommand::$connectionPool
private