CleanUpLocalProcessedFilesCommand extends Command
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
__construct()
public
__construct(CleanUpLocalProcessedFilesService $cleanProcessedFilesService) : mixed
Parameters
- $cleanProcessedFilesService : CleanUpLocalProcessedFilesService
configure()
protected
configure() : void
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