SemanticSearchRepositoryInterface.php
- Pfad:
src/Domain/Repository/SemanticSearchRepositoryInterface.php - Namespace: Domain\Repository
- Zeilen: 51 | Größe: 1,653 Bytes
- Geändert: 2025-12-28 03:04:27 | 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
-
SemanticSearchRepositoryInterfaceinterface Zeile 9
Funktionen 6
-
getSemanticStats()public Zeile 16 -
findEntitySemantics()public Zeile 23 -
countEntitySemantics()public Zeile 28 -
getGraphData()public Zeile 35 -
getTextSemanticStats()public Zeile 42 -
getKnowledgeSemanticStats()public Zeile 49
Verwendet von 5
- ContentServiceProvider.php use
- SemanticExplorerController.php constructor
- SemanticExplorerController.php use
- SemanticSearchRepository.php implements
- SemanticSearchRepository.php use
Versionen 1
-
v1
2025-12-28 03:04 | claude-code-hook | modified
Claude Code Pre-Hook Backup vor Edit-Operation
Code
<?php
declare(strict_types=1);
namespace Domain\Repository;
// @responsibility: Interface für Semantik-Suche und Graph-Daten
interface SemanticSearchRepositoryInterface
{
/**
* Holt Gesamtstatistiken über Entitäten, Relationen, Taxonomie, Ontologie, Semantik.
*
* @return array{entities: int, relations: int, taxonomy: int, ontology: int, semantics: int}
*/
public function getSemanticStats(): array;
/**
* Holt Entitäten mit Bedeutungen/Beschreibungen (gefiltert).
*
* @return array<int, array{id: int, name: string, type: string, description: ?string, chunk_id: ?int, chunk_index: ?int, document_id: ?int, filename: ?string}>
*/
public function findEntitySemantics(string $search = '', string $type = '', int $limit = 50, int $offset = 0): array;
/**
* Zählt Entitäten mit Bedeutungen (gefiltert).
*/
public function countEntitySemantics(string $search = '', string $type = ''): int;
/**
* Holt Graph-Daten für D3.js Visualisierung.
*
* @return array{nodes: array, links: array, stats: array}
*/
public function getGraphData(): array;
/**
* Holt Text-Semantik Statistiken für Dashboard.
*
* @return array{analyzed: int, total: int, coverage: float, by_statement_form: array, by_intent: array}
*/
public function getTextSemanticStats(): array;
/**
* Holt Knowledge-Semantik Statistiken für Dashboard.
*
* @return array{analyzed: int, total: int, coverage: float, by_semantic_role: array, by_functional_category: array}
*/
public function getKnowledgeSemanticStats(): array;
}