SeiteExplorerRepositoryInterface.php
- Pfad:
src/Domain/Repository/SeiteExplorerRepositoryInterface.php - Namespace: Domain\Repository
- Zeilen: 76 | Größe: 1,871 Bytes
- Geändert: 2025-12-25 12:29:36 | 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
-
SeiteExplorerRepositoryInterfaceinterface Zeile 9
Funktionen 9
-
countSeiten()public Zeile 14 -
countSeitenFiltered()public Zeile 19 -
getSeitenFiltered()public Zeile 26 -
getSeitenPaginated()public Zeile 33 -
getSeiteWithParent()public Zeile 45 -
getSeitenWithStatsForParent()public Zeile 52 -
getUnterseiten()public Zeile 59 -
buildBreadcrumb()public Zeile 67 -
getTaxonomyForDokumentTree()public Zeile 74
Verwendet von 9
- ChatController.php constructor
- ChatController.php use
- ExplorerController.php constructor
- ExplorerController.php use
- InfrastructureServiceProvider.php use
- SeiteExplorerRepository.php implements
- SeiteExplorerRepository.php use
- SystemExplorerController.php constructor
- SystemExplorerController.php use
Code
<?php
declare(strict_types=1);
namespace Domain\Repository;
// @responsibility: Interface für Seiten-Explorer-Operationen (Unterseiten mit Stats)
interface SeiteExplorerRepositoryInterface
{
/**
* Count all pages (depth > 0).
*/
public function countSeiten(): int;
/**
* Count pages with filters.
*/
public function countSeitenFiltered(string $search = '', string $parentId = ''): int;
/**
* Get pages with filters (no pagination).
*
* @return array<array<string, mixed>>
*/
public function getSeitenFiltered(string $search = '', string $parentId = ''): array;
/**
* Get pages with pagination and filters.
*
* @return array<array<string, mixed>>
*/
public function getSeitenPaginated(
string $search = '',
string $parentId = '',
int $limit = 50,
int $offset = 0
): array;
/**
* Get page with parent info.
*
* @return array<string, mixed>|null
*/
public function getSeiteWithParent(int $id): ?array;
/**
* Get child pages with stats for a parent document.
*
* @return array<array<string, mixed>>
*/
public function getSeitenWithStatsForParent(int $parentId): array;
/**
* Get child pages (simple).
*
* @return array<array<string, mixed>>
*/
public function getUnterseiten(int $parentId): array;
/**
* Build breadcrumb for a page.
*
* @param array<string, mixed> $seite
* @return array<array{id: int, title: string, path: string, depth: int}>
*/
public function buildBreadcrumb(array $seite): array;
/**
* Get taxonomy aggregation for document tree.
*
* @return array<array{taxonomy_category: string, count: int}>
*/
public function getTaxonomyForDokumentTree(int $dokumentId): array;
}