public function read($fileName)
    {
        $path = $this->getPathBase($fileName);

        if (!file_exists($path)) {
            return;
        }

        $data = file_get_contents($path);
        return $this->data = unserialize($data);
    }
public function read($fileName)
    {
        $path = $this->getPathBase($fileName);

        if (!file_exists($path)) {
            return;
        }

        $data = file_get_contents($path);
        return $this->data = unserialize($data);
    }
public function read ( $ fileName ) { $ path = $ this -> getPathBase ( $ fileName ) ; if ( ! file_exists ( $ path ) ) { return ; } $ data = file_get_contents ( $ path ) ; return $ this -> data = unserialize ( $ data ) ; }
reads in the cached file, if it exists
unserialises and stores in data property
@param  string $key example-file-name
@return bool
reads in the cached file if it exists unserialises and stores in data property