You are here

public function MockDrupalSystem::cacheGet in X Autoload 7.5

Parameters

string $cid:

string $bin:

Return value

object|false The cache or FALSE on failure.

Overrides DrupalSystemInterface::cacheGet

See also

cache_get()

File

tests/src/Mock/MockDrupalSystem.php, line 212

Class

MockDrupalSystem

Namespace

Drupal\xautoload\Tests\Mock

Code

public function cacheGet($cid, $bin = 'cache') {
  return $this->components->Cache
    ->cacheGet($cid, $bin);
}