<?php

declare(strict_types=1);

namespace App\Service\Domain;

use App\Entity\Domain\TopicTrustFlow;

interface TopicTrustFlowRepositoryInterface
{
    /**
     * @param int $id
     *
     * @return TopicTrustFlow
     */
    public function findById(int $id): ?TopicTrustFlow;

    /**
     * @param TopicTrustFlow $topicTrustFlow
     */
    public function save(TopicTrustFlow $topicTrustFlow): void;

    /**
     * @param TopicTrustFlow $topicTrustFlow
     */
    public function delete(TopicTrustFlow $topicTrustFlow): void;
}
