<?php

namespace App\Service\Campaign\Keyword;

use App\Entity\Campaign\Keyword\Check;

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

    /**
     * @param Check $check
     */
    public function save(Check $check): void;

    /**
     * @param Check $check
     */
    public function delete(Check $check): void;

    public function existsByKeywordAndDate($keyword, $date);
}
