‪TYPO3CMS  ‪main
TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand Class Reference
Inheritance diagram for TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand:

Public Member Functions

 __construct (private readonly CleanUpLocalProcessedFilesService $cleanProcessedFilesService)
 

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 
 deleteFile (InputInterface $input, OutputInterface $output, array $files)
 

Detailed Description

Definition at line 32 of file CleanUpLocalProcessedFilesCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand::__construct ( private readonly CleanUpLocalProcessedFilesService  $cleanProcessedFilesService)

Definition at line 34 of file CleanUpLocalProcessedFilesCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand::configure ( )
protected

Definition at line 40 of file CleanUpLocalProcessedFilesCommand.php.

◆ deleteFile()

TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand::deleteFile ( InputInterface  $input,
OutputInterface  $output,
array  $files 
)
protected

◆ execute()

TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

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

Definition at line 72 of file CleanUpLocalProcessedFilesCommand.php.

References $output, TYPO3\CMS\Webhooks\Message\$record, TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand\deleteFile(), and TYPO3\CMS\Core\Utility\PathUtility\stripPathSitePrefix().