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;
    }
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;
    }
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 ; }
Loads and returns the value for the supplied cache key.

@param string $resource A cache key

@return mixed The cached value
Loads and returns the value for the supplied cache key .