CleanUpLocalProcessedFilesCommand

class \TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand

Extends
Command

Attributes

#[AsCommand]
'cleanup:localprocessedfiles'
'Deletes processed files and their database records.'

Table of Contents

Methods

__construct()  : mixed
configure()  : void
deleteFile()  : array
execute()  : int
Executes the command to find processed files from local storages that are no longer referenced and deletes references to files that no longer exist

Methods

deleteFile()

protected deleteFile(InputInterface $input, OutputInterface $output, array $files) : array

Parameters

$input : InputInterface
$output : OutputInterface
$files : array

Return values

array

execute()

Executes the command to find processed files from local storages that are no longer referenced and deletes references to files that no longer exist

protected execute(InputInterface $input, OutputInterface $output) : int

Parameters

$input : InputInterface
$output : OutputInterface

Return values

int
On this page