26 public function has($key)
28 return isset($this->cache[$key]);
34 public function get($key)
36 if (!$this->
has($key)) {
37 throw new \RuntimeException(
'There is no cached value for '.$key);
40 return $this->cache[$key];
46 public function set($key, $value)
48 $this->cache[$key] = $value;
54 public function remove($key)
56 unset($this->cache[$key]);
Create styles array
The data for the language used.
Interface for a cache backend.