ChunkProcessorInterface.php
- Pfad:
src/Infrastructure/Docs/ChunkProcessorInterface.php - Namespace: Infrastructure\Docs
- Zeilen: 32 | Größe: 636 Bytes
- Geändert: 2025-12-25 16:56:48 | Gescannt: 2025-12-31 10:22:15
Code Hygiene Score: 100
- Dependencies: 100 (25%)
- LOC: 100 (20%)
- Methods: 100 (20%)
- Secrets: 100 (15%)
- Classes: 100 (10%)
- Magic Numbers: 100 (10%)
Keine Issues gefunden.
Klassen 1
-
ChunkProcessorInterfaceinterface Zeile 9
Funktionen 3
-
process()public Zeile 16 -
processBatch()public Zeile 23 -
getStats()public Zeile 30
Verwendet von 1
- ChunkAnalysisService.php implements
Code
<?php
declare(strict_types=1);
namespace Infrastructure\Docs;
// @responsibility: Interface für Chunk-Verarbeitungsservices
interface ChunkProcessorInterface
{
/**
* Processes a single chunk.
*
* @return array<string, mixed>
*/
public function process(int $chunkId): array;
/**
* Processes multiple chunks in batch.
*
* @return array{processed: int, failed: int, errors: array<string>}
*/
public function processBatch(int $limit): array;
/**
* Gets processing statistics.
*
* @return array<string, mixed>
*/
public function getStats(): array;
}