You are here

public function PhpBackend::get in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::get()
  2. 9 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::get()

File

core/lib/Drupal/Core/Cache/PhpBackend.php, line 57

Class

PhpBackend
Defines a PHP cache implementation.

Namespace

Drupal\Core\Cache

Code

public function get($cid, $allow_invalid = FALSE) {
  return $this
    ->getByHash($this
    ->normalizeCid($cid), $allow_invalid);
}