$containerCaches =
[];
foreach ($finder->
getIterator() as $containerPaths) { $containerCaches[] =
$containerPaths->
getRealPath();
} $this->filesystem->
remove($containerCaches);
} public function scheduleCacheFolderCleanup(): void
{ $this->messageBus->
dispatch(new CleanupOldCacheFolders());
} /**
* @param list<string> $keys
*/
public function deleteItems(array
$keys): void
{ foreach ($this->adapters
as $adapter) { $adapter->
deleteItems($keys);
} }