Doctrine\Common\Cache\CacheProvider::doContains PHP Метод

doContains() абстрактный защищенный Метод

Tests if an entry exists in the cache.
abstract protected doContains ( string $id ) : boolean
$id string The cache id of the entry to check for.
Результат boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise.
    protected abstract function doContains($id);

Usage Example

 /**
  * @inheritdoc
  */
 protected function doContains($id)
 {
     return $this->cacheProvider->doContains($id);
 }