AIClientInterface.php
- Pfad:
src/Infrastructure/AI/AIClientInterface.php - Namespace: Infrastructure\AI
- Zeilen: 19 | Größe: 374 Bytes
- Geändert: 2025-12-23 08:00:15 | 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
-
AIClientInterfaceinterface Zeile 9
Funktionen 4
-
execute()public Zeile 11 -
isAvailable()public Zeile 13 -
getClientName()public Zeile 15 -
getModelName()public Zeile 17
Verwendet von 3
- AnthropicClient.php implements
- ExecuteAITaskUseCase.php use
- OllamaClient.php implements
Versionen 1
-
v1
2025-12-23 08:00 | claude-code-hook | modified
Claude Code Pre-Hook Backup vor Edit-Operation
Code
<?php
declare(strict_types=1);
namespace Infrastructure\AI;
// @responsibility: Schnittstelle für AI-Clients (Ollama, Claude)
interface AIClientInterface
{
public function execute(string $prompt, array $options = []): AIResponse;
public function isAvailable(): bool;
public function getClientName(): string;
public function getModelName(): string;
}