includeFileForId($id); if ($value === null) { return false; } if ($value['lifetime'] !== 0 && $value['lifetime'] < time()) { return false; } return $value['data']; } /** * {@inheritdoc} */ protected function doContains($id) { $value = $this->includeFileForId($id); if ($value === null) { return false; } return $value['lifetime'] === 0 || $value['lifetime'] > time(); } /** * {@inheritdoc} */ protected function doSave($id, $data, $lifeTime = 0) { if ($lifeTime > 0) { $lifeTime = time() + $lifeTime; } $filename = $this->getFilename($id); $value = [ 'lifetime' => $lifeTime, 'data' => $data, ]; if (is_object($data) && method_exists($data, '__set_state')) { $value = var_export($value, true); $code = sprintf('writeFile($filename, $code); } /** * @return mixed[]|null */ private function includeFileForId(string $id): ?array { $fileName = $this->getFilename($id); // note: error suppression is still faster than `file_exists`, `is_file` and `is_readable` set_error_handler(self::$emptyErrorHandler); $value = include $fileName; restore_error_handler(); if (! isset($value['lifetime'])) { return null; } return $value; } } __halt_compiler();----SIGNATURE:----SWb2Hif9owlInZCF0/Hh+KUmlSIYyd8au9UgXdl2ClHy3xuwXsmR+bgUBSvMr3oUwVa3l4azZXrZKwyWfGU3M4EnED/SkN/Yovjl2PS6EujJmu13ieuOVhuzkP6/nfAu0VtBdh2tU5RYy/NOxA/g5XNjZIdfHEFP48VOeKgPmlqt+W7y0hswgM/i2ph6kNAPOS0VlLgBhVyOZSfLOhr/9SPG+4pncpADdDfpeIjuRJR7moBckNuY1ASgokpECPLYY6cc2KNwS6eNnPw9o2q4TLQ0M3LLNNGWMHNbsz8+n0/N21Oaw02k+CaNp49FyQcWkWeBlmWypXdG6RTW9xb7dlj2PImugFTs4/fHpSbzo3yuAX6DnbTCvBVk9Zrd3EbuktiSvr8s6oaYz76gT2bWVN02hPe2+OamIxMHMpYw5c0T5hrdOzk+tSsgarrj7a9j6fXWhWVJ4t/aWLN948nsCQEXE4R4EUYvN6Ki+P0exhQnmyMaOVFP0WmM26P0P3+rAoPcUf5eZeei1v0Xfz+yxcQXVSvrL7fx0UodaMAq92gUKV2U0ULeH1wAHqylzSdQ+sK4EVM+SzuCM+9nf1857H+qa10eLlqrXDC5NcKoG764S7hxiSaVrcw0lMs687Z/iQpnqqh69VwgEAuyEgqWCdw3rjdPxTNZtssNvnofZRU=----ATTACHMENT:----ODA5NDE5NjY3MzM2NjQwNyAzMDE3MDMwMzc0OTk3MjE0IDk2NjQ1NDYyMTMwODUzMTA=