ContentConfigRepositoryInterface.php
- Pfad:
src/Domain/Repository/ContentConfigRepositoryInterface.php - Namespace: Domain\Repository
- Zeilen: 71 | Größe: 1,502 Bytes
- Geändert: 2025-12-27 10:27:14 | 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
-
ContentConfigRepositoryInterfaceinterface Zeile 9
Funktionen 8
-
getAuthorProfiles()public Zeile 16 -
getAuthorProfile()public Zeile 23 -
getSystemPrompts()public Zeile 30 -
getSystemPrompt()public Zeile 37 -
getStructures()public Zeile 44 -
getStructure()public Zeile 51 -
saveHistory()public Zeile 56 -
getHistory()public Zeile 69
Verwendet von 9
- ChatPromptLoader.php constructor
- ChatPromptLoader.php use
- ChatServiceProvider.php use
- ContentConfigRepository.php implements
- ContentConfigRepository.php use
- GetChatSessionUseCase.php constructor
- GetChatSessionUseCase.php use
- UpdateChatSessionUseCase.php use
- UpdateChatSessionUseCase.php constructor
Versionen 1
-
v1
2025-12-27 10:27 | claude-code-hook | modified
Claude Code Pre-Hook Backup vor Edit-Operation
Code
<?php
declare(strict_types=1);
namespace Domain\Repository;
// @responsibility: Interface for content configuration repository
interface ContentConfigRepositoryInterface
{
/**
* Get all author profiles.
*
* @return array<int, array<string, mixed>>
*/
public function getAuthorProfiles(): array;
/**
* Get a single author profile.
*
* @return array<string, mixed>|null
*/
public function getAuthorProfile(int $id): ?array;
/**
* Get all system prompts.
*
* @return array<int, array<string, mixed>>
*/
public function getSystemPrompts(): array;
/**
* Get a single system prompt.
*
* @return array<string, mixed>|null
*/
public function getSystemPrompt(int $id): ?array;
/**
* Get all output structures.
*
* @return array<int, array<string, mixed>>
*/
public function getStructures(): array;
/**
* Get a single structure.
*
* @return array<string, mixed>|null
*/
public function getStructure(int $id): ?array;
/**
* Save a config version to history.
*/
public function saveHistory(
int $configId,
string $content,
string $version,
string $changedBy,
string $changeDescription
): void;
/**
* Get config version history.
*
* @return array<int, array<string, mixed>>
*/
public function getHistory(int $configId, int $limit = 10): array;
}