summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Cache/QueryCacheValidator.php
blob: 8a0d39f6469448b3afccb13d1f424d22b1c60c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Cache;

/**
 * Cache query validator interface.
 */
interface QueryCacheValidator
{
    /**
     * Checks if the query entry is valid
     */
    public function isValid(QueryCacheKey $key, QueryCacheEntry $entry): bool;
}