| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class FileCacheBatchProcessor |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * FileCacheBatchProcessor constructor. |
||
| 19 | * |
||
| 20 | * @param FileCacheStore $store |
||
| 21 | */ |
||
| 22 | public function __construct(private FileCacheStore $store) |
||
| 23 | { |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Processes a batch of cache items and stores them. |
||
| 28 | * |
||
| 29 | * @param array $batchItems |
||
| 30 | * @param string $namespace |
||
| 31 | * @return void |
||
| 32 | * @throws CacheFileException |
||
| 33 | */ |
||
| 34 | public function process(array $batchItems, string $namespace): void |
||
| 42 | } |
||
| 43 | } |
||
| 45 |