You are here

public function LaravelCacheRepositoryAdapter::getMultiple in Markdown 8.2

File

src/Util/LaravelCacheRepositoryAdapter.php, line 93

Class

LaravelCacheRepositoryAdapter
Adapter for integrating Drupal cache with Laravel.

Namespace

Drupal\markdown\Util

Code

public function getMultiple($keys, $default = NULL) {
  $results = [];
  foreach ($keys as $key) {
    $results[] = $this
      ->get($key, $default);
  }
  return $results;
}