public function CacheInterface::has

Checks if the cache has a value for a key.

Parameters

string $key A unique key:

Return value

Boolean Whether the cache has a value for this key

3 methods override CacheInterface::has()
ApcCache::has in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Cache/ApcCache.php
ExpiringCache::has in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Cache/ExpiringCache.php
Checks if the cache has a value for a key.
FilesystemCache::has in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Cache/FilesystemCache.php
Checks if the cache has a value for a key.

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Cache/CacheInterface.php, line 28

Class

CacheInterface
Interface for a cache backend.

Namespace

Assetic\Cache

Code

public function has($key);