function CacheCollectorInterface::has

Returns whether data exists for this key.

Parameters

string $key: Key that identifies the data.

1 method overrides CacheCollectorInterface::has()
CacheCollector::has in core/lib/Drupal/Core/Cache/CacheCollector.php
Returns whether data exists for this key.

File

core/lib/Drupal/Core/Cache/CacheCollectorInterface.php, line 62

Class

CacheCollectorInterface
Provides a caching wrapper to be used in place of large structures.

Namespace

Drupal\Core\Cache

Code

public function has($key);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.