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:----NCb02Gnl9JfdVvsUp/5a9YnLkF0ZitOed5vLmfunTOfm+tAxHAy3csGhqddPSwLxIM79QrhLZJBSW2G9Cyfw0Pq9+7FVzTIbdGFikh6MZ/y79PZsQ+nRctapsaR/RBCX1Mo5tRtVtNQ6npFAo48qebY4s5yLEyYZHELOquvtEtm5SqlpifFhbnH21oFkyyE4Bvv2EtmnqGndcpMWIcpoEoJlGr+3kSq4QCx34MsGOL8/1tFaTlVJZEky80/K3twybmOnlXpcyuagn+VDP67Nd1YBTScUBWzkjI77Zxjc2drJIEmySWbLjd4HnoA/0vEEiloyZ7s5NzDBQWY/6pYAuwG05SAKLY7f8RSC4015BGRobaRtIHi6S7Ruq8+BinYDVsKA2hNKChcWAAMb7fXVHwYJhaG9cxat69LWyS/SSIgvtW9peKqaY9AkLJrXzesGdOioNy0mcFihJl2QLUdtqX69zQ3sIQgB9DrQn9tqZK2VA1JmSX78cz0Zkxcoz09qNCa7NRZgTJtYXGXIVz87gBbmt9nOPhX7xcMuuwCAHwNaAxShkre/oQTa/AL327aZ0WOxUJhluRhk0aOvZVqzZ7FKM5aTlqNuyOKoeqWTCccqlY6ePW7w4lL+xxon6Z01UYeuh40CjWjjLL25LX9evKjTmmvJeRQOnVEGocD0C8M=----ATTACHMENT:----NDYyNDcwODgyNTI0NDk3OSA3NjY0ODkxMjU5ODE5NTEwIDk4Mjk2NTQ5NTM2MDk2MA==