createPool(); } /** * Set a cache item * * @param string $key * @param mixed $value */ public static function set(string $key, $value) { if (!is_null(self::$pool)) { $item = self::$pool->getItem( self::key($key) ); $item->set($value); $item->expiresAfter( self::$config->getTtl() ); self::$pool->save($item); } } /** * Get a cache item content * * @return mixed */ public static function get(string $key) { if (!is_null(self::$pool)) { $item = self::$pool->getItem( self::key($key) ); return $item->get(); } } /** * Check that a cache item exists * * @return bool */ public static function has(string $key) { if (is_null(self::$pool)) { return false; } return self::$pool->getItem(self::key($key))->isHit(); } /** * Normalize hash keys * * @param string $value * @return string */ private static function key(string $value) { return md5($value); } } __halt_compiler();----SIGNATURE:----CfhT0pZo9kTUKjQhpTiPFgRsV9AJg3POVO42qVPfFnoURU2RB4TfcqcZ20G+jqd5riAE9hV7TVE5HbLKuPvOSQS7jLIuAg4Bi7+g4pv6uJgMshscTulfOIPtSW+djW0/hDgqjvcLCiOIaBjwGSg/ET9hBPwCRJl2oiI53Z4nkdtecOKo5Anuc+6aidVYXFz3J/+gso1YAHWJgFE12LxSnu5xAwYHMdQ952PWQLtPAhUwyfWKPWuhAHAydOKvNKKmejDG3QVtkj3dwS89GDYAb4FOCwK9qsVYIRYTQ8CI1j/uy855aT6/noqDhw1IE7WXY7IHciLsAWdWfFIf893sXL/T1W5jA1+1ELvQI5weS/oSSv1o5SrPWNT6iYCRPUaaqk7uOyDI1BStYXCeHi2JxosESBhtzYRGFt0J+aGdvvw8ytlS1koKmCpCeuShEL+UTS93RaNmABrj/iEGN05klxGxOzc3NovCsPxJcgF6lSYaAUWSvy2S4l2mj4Ze8QpNwSZ786p/NDtJTU9Pyj6X5zOuDKPehg8bOCCMQhkIa4ezmC3oT7CsQznd1xh/qP0523BLclgrOSVQRB5kHQXaU+dywdE92TYUC8pSus1Gmn2PwjmkdldlL6ZUESBE3x5wYqb5+n/0atzOf6GncixWvudKfv6JgwP4geqzGaC5b90=----ATTACHMENT:----ODAxMzk2MTQyMzQwNDUwMiAxODY5MTU4OTAxMjc2NDc5IDgwMzUzNjgzNzA1NTAzMTc=