ContentVersionRepositoryInterface.php
- Pfad:
src/Domain/Repository/ContentVersionRepositoryInterface.php - Namespace: Domain\Repository
- Zeilen: 31 | Größe: 657 Bytes
- Geändert: 2025-12-25 16:56:45 | 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
-
ContentVersionRepositoryInterfaceinterface Zeile 9
Funktionen 4
-
findVersionsByOrder()public Zeile 14 -
findLatestVersion()public Zeile 19 -
findVersion()public Zeile 24 -
findCritiquesByVersion()public Zeile 29
Verwendet von 5
- ContentRepository.php constructor
- ContentRepository.php use
- ContentServiceProvider.php use
- ContentVersionRepository.php implements
- ContentVersionRepository.php use
Code
<?php
declare(strict_types=1);
namespace Domain\Repository;
// @responsibility: Vertrag für Content-Version-Persistenz
interface ContentVersionRepositoryInterface
{
/**
* @return array<int, array<string, mixed>>
*/
public function findVersionsByOrder(int $orderId): array;
/**
* @return array<string, mixed>|null
*/
public function findLatestVersion(int $orderId): ?array;
/**
* @return array<string, mixed>|null
*/
public function findVersion(int $id): ?array;
/**
* @return array<int, array<string, mixed>>
*/
public function findCritiquesByVersion(int $versionId): array;
}