PipelineStepRepositoryInterface.php

Code Hygiene Score: 100

Keine Issues gefunden.

Klassen 1

Funktionen 5

Verwendet von 5

Code

<?php

declare(strict_types=1);

namespace Domain\Repository;

// @responsibility: Vertrag für Pipeline-Step-Persistenz

interface PipelineStepRepositoryInterface
{
    /**
     * @return array<int, array<string, mixed>>
     */
    public function findSteps(int $pipelineId): array;

    /**
     * @param array<string, mixed> $stepData
     */
    public function addStep(int $pipelineId, array $stepData): int;

    /**
     * @param array<string, mixed> $stepData
     */
    public function updateStep(int $stepId, array $stepData): void;

    public function deleteStep(int $stepId): void;

    /**
     * @param array<int> $stepIds
     */
    public function reorderSteps(int $pipelineId, array $stepIds): void;
}
← Übersicht Graph