19 lines
300 B
PHP
19 lines
300 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\ORM\Cache;
|
|
|
|
/**
|
|
* Cache query validator interface.
|
|
*/
|
|
interface QueryCacheValidator
|
|
{
|
|
/**
|
|
* Checks if the query entry is valid
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function isValid(QueryCacheKey $key, QueryCacheEntry $entry);
|
|
}
|