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:----bhlR7dtJzGJmvKxyMXHruE7wQDTV7OZYKyt+pQFriBgHw92fybZkYhvXbaUk2Oa7wUeAzp1FmMtxq+ojgp1G4kEhAtdRm70ZRWbjdqSopj189zXtR8RujCdw45h+CCtHtMe4QeNSsv+D7Pc/o9GEaqaa78XN/TGu1FIUj5nWIU86+tUGeHBkLCVQ8IKvCWE1kA9TMY218Pu7dDSeQm2P0MVRxUz0D9xCMeW1AZQ4knmHU+Iv36tBOXfFkF69occlDHJAEKMmXCySZGpAWMv/a2AVGd8rV0242xsn8yGV6M7cExPF2iivzgd6o5ZPrV9etMllMiZ7Y+if9BQXj5nIqHXfGov4LFcUdWgX8lNY2mZcnB7DQE6U/SmCJXas7P+JqjUYMkaD3RTOoWPj5dLwOSg/lRF7PCH/IiuJ0X2RuqtQAsWFwgpMY6VQdGmw3/hkm+TVxUVtJUL10QqKgk10OnTS0348rE1Th8RYiQ20gL1Smi58pABYR6wlTp2POSmK+9p6PTKma0gI/5xEgKG5I7xOqBj7fUNsv4keVymhn6ypoiBIE5rumhjZIeHFFOZYyogd3n91nUDTaMXZaAjs2nyuVB1bBFd5AY6W+qr6pGa/JaqTRt8rwZmcHPf0WeAuwBmIArIImh0NQ3RBm0Kh3QfCOcG2PnyuBK2tUxT7/eQ=----ATTACHMENT:----NDAwMzY5NTI0NTAxMjQ5NSA3NTc2NjgwNTI2NzcyMjE2IDk3MTE1MjE4Njc3MDIyOTM=