<?php

namespace App\Repository\CommentTask;

use App\Entity\CommentTask;

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

    /**
     * @param CommentTask $commentTask
     */
    public function save(CommentTask $commentTask): void;

    /**
     * @param CommentTask $commentTask
     */
    public function delete(CommentTask $commentTask): void;

    public function moveCommentsBetweenUsers(int $from, int $to);
}
