<?php

declare(strict_types=1);

namespace App\Module\Integration\Domain\Repository;

use App\Module\Integration\Domain\Entity\TaskBookStackLink;

interface TaskBookStackLinkRepositoryInterface
{
    public function findById(int $id): ?TaskBookStackLink;

    /**
     * @return TaskBookStackLink[]
     */
    public function findByTaskId(int $taskId): array;
}
