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:----WESDGE2kkWu2DM5Gmd9gZmelfnX+FqEC58Bz6yQfM7EguZr3C/c/7qUBXrrQ8Imar2SAvIhHx6wTrQSIY3+no1BEjBnphl6bTh+rR62P/6R8Ws2LkHrU+Ps14y9SubJfMi94mOh5T1jPiJfGYuKCP3SesrgyzackxkuwX42ixgaiXtf1UBDvQQa779cKRSG5emi90DDIEhAT4mabsesgHgsyYUiZiW1SF9aXLoXpRJWUfxV5d/XmQ6LL5quSoD+Pel6VfdgU28dvtpYCht2EIfgfkaOYnhbDL1xEVr6uL9WMB44t0rLKb+aaeShzPOqVvjhoQ3rlelB5jh6rfLlvGChF9ogN8g4URz5xC5Gxs6c0xbQEejuAUFUdj3ZrU84kXbk3S9ruCmP2cREQnqFO6tapjk39TNaWFUou5iEHhQHuGeit+B3S/RL5/DnGvojGd97ELVK4Nispw1VElH5Qze/lK//p4NCR0HOlyvHyi+xOrOWj4XASxcxH7AUfnphMNQ0TlLulTxsD2EI6flyyUvaNFeoGcCtF0ysDnH7SOI8LSLHlr2Fja4PXYSv5np+QJPN5/e97oXnO+yKT8gEFJ5luQrHeStO91a8hcdN7cinbtMt/doEEa6gUPxbvEDGOA74XYkmWidExktjALY6QIh8m5AMXxx8krKYFYxoueCI=----ATTACHMENT:----Mzc5Mjg4ODE4OTAwMzcwNyA0NjY1MTAxMzA0OTQyMDM0IDY2MzUwMDMxMjAyNjI2MjY=