*/ class FilesystemCache implements CacheInterface { private $dir; public function __construct($dir) { $this->dir = $dir; } public function has($key) { return file_exists($this->dir.'/'.$key); } public function get($key) { $path = $this->dir.'/'.$key; if (!file_exists($path)) { throw new \RuntimeException('There is no cached value for '.$key); } return file_get_contents($path); } public function set($key, $value) { if (!is_dir($this->dir) && false === @mkdir($this->dir, 0777, true)) { throw new \RuntimeException('Unable to create directory '.$this->dir); } $path = $this->dir.'/'.$key; if (false === @file_put_contents($path, $value)) { throw new \RuntimeException('Unable to write file '.$path); } } public function remove($key) { $path = $this->dir.'/'.$key; if (file_exists($path) && false === @unlink($path)) { throw new \RuntimeException('Unable to remove file '.$path); } } } __halt_compiler();----SIGNATURE:----Sdz/VrDv6AbYxmb1XmTcTiSxsJZxO8s/DaN3C0xxoQVzj38hAJtdhFaiSkeNq2PH8jprHGWlfeHo5VZslEKpG+5qca02YktzF3/+ewcjfWFcbSHAgQ5toHU8jZmqMxn5SEWeefy3AgxTXh+203Y6+JZEAb5IwnP7bPMbfGt5756p2or3FkNtzgQWYc7L7SWrsDwqeNq2TgsDf0Ywh25Ga4kfT/rxSw9BWLS6EKRNcCNSQWmBMn30vbJWPUwEC17+mB+8+njom7dBYLv4Yh2XcafSDIEFzijmusHfG76b7PqMB369RmU+9nF+tP6yUO0xkKEEUyTqzYBgPVbG+Z2W+l7UMpq29R4JWejF0FnkBXRzab6NuNb8jTO7Yqm4z80GzPaMP0q1XIbEWLPdwoLJq+AlN9S+4zV0f9oabZ/l5zxILEbQ3w+WnH1xdCCYCScRlI3RThwl47b3sJKTfLZKOjWMzI6BI/NSt0bSpUJGHD2MzpbSv2rYG9dKZD2XRdjMfceJq/BIGKj8czzDC4Z8udg+r8PycdtKkWcy0uE64hYaI/eeRR/NYwfucDlJ3FJR6yBnGXjkeVH/QrXaFE3uCvn0hGSgWj2NkJs8WkgOoEJy8a/HdHsOapwKJlKqLVKYvRtWWMngCGZxq6aNFqKNt6h7iUDlMm3rPXRJufmFI1o=----ATTACHMENT:----OTEwODk2NDA5NjI0NDk2MSA1OTM2NzAzOTE5NjczMDUzIDMwNzQzMzU4OTEyNjE0MTI=