<?php

namespace App\Repository\CommentContent;

use App\Entity\CommentContent;

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

    /**
     * @param CommentContent $commentContent
     */
    public function save(CommentContent $commentContent): void;

    /**
     * @param CommentContent $commentContent
     */
    public function delete(CommentContent $commentContent): void;

    public function findBy(array $criteria, array $array, $getRpp, $param);

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