You are here

public function LaravelCacheStoreAdapter::get in Markdown 8.2

1 call to LaravelCacheStoreAdapter::get()
LaravelCacheStoreAdapter::many in src/Util/LaravelCacheStoreAdapter.php

File

src/Util/LaravelCacheStoreAdapter.php, line 74

Class

LaravelCacheStoreAdapter
Adapter for integrating Drupal cache with Laravel.

Namespace

Drupal\markdown\Util

Code

public function get($key) {
  $key = $this
    ->prefixKey($key);
  $cache = $this->cache
    ->get($key);
  return isset($cache->data) ? $cache->data : NULL;
}