src/Expose/Cache/File.php
public function get($key)
	{
		$hash = md5($key);
		$cacheFile = $this->getPath().'/'.$hash.'.cache';

		if (!is_file($cacheFile)) {
			return null;
		}
		return unserialize(file_get_contents($cacheFile));
	}
public function get($key)
	{
		$hash = md5($key);
		$cacheFile = $this->getPath().'/'.$hash.'.cache';

		if (!is_file($cacheFile)) {
			return null;
		}
		return unserialize(file_get_contents($cacheFile));
	}
public function get ( $ key ) { $ hash = md5 ( $ key ) ; $ cacheFile = $ this -> getPath ( ) . '/' . $ hash . '.cache' ; if ( ! is_file ( $ cacheFile ) ) { return null ; } return unserialize ( file_get_contents ( $ cacheFile ) ) ; }
Get the record identified by the given key

@param string $key Cache identifier key
@return mixed Returns either data or null if not found
Get the record identified by the given key