<?php

namespace App\Service\Domain\Stat;

use App\Entity\Domain\Stat\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;
}
