public function PersistableCacheInterface::contains in RESTful 7.2
Checks if the cache contains the key.
Parameters
string $key: The key to check.
Return value
bool TRUE if the key is present in the cache. FALSE otherwise.
1 method overrides PersistableCacheInterface::contains()
- PersistableCache::contains in src/
Util/ PersistableCache.php - Checks if the cache contains the key.
File
- src/
Util/ PersistableCacheInterface.php, line 21 - Contains \Drupal\restful\Util\PersistableCacheInterface.
Class
Namespace
Drupal\restful\UtilCode
public function contains($key);