CleanUpLocalProcessedFilesCommand extends Command

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

Table of Contents

Methods

__construct()  : mixed
configure()  : void
deleteFile()  : array<string|int, mixed>
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<string|int, mixed> $files) : array<string|int, mixed>
Parameters
$input : InputInterface
$output : OutputInterface
$files : array<string|int, mixed>
Return values
array<string|int, mixed>

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

Search results