Loads and returns the value for the supplied cache key.
string $resource A cache key:
mixed The cached value
public function get($resource) {
$path = $this
->getSourcePath($resource);
if (!file_exists($path)) {
throw new \RuntimeException('There is no cached value for ' . $resource);
}
return include $path;
}