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:----18MRjAzU9iudHKh5WsUeSAB9yAkAKlZS9KA2FDifq7g517wbzOEX7IH0iz5eKQ6ddolgekyocMXDQEmCMppICdpP0GYwkaNisjYtAi7PlfIgY+LFXhVyhXMYcNzqgLMwv58TRnfw4gMobINiVZynNrCGl/XPqR5j4VNIy7Su9THDo8YN6x+toULlhS0skNLW0XN9AZKGdqn2fl87FiF6mIiZK28FhQ2OtVcbI8fi49Hz2YVnzXAE6ePJGslwjUACn5TE87it5HKjRFf0KdwfbAiE6fyxKVLSxCyPWiY1sUkz/aRIwMTP0nyHhMVJw9Stxx6q5aQgN9bRdNdKZIbh2n6NUBlz2793J2pqUirAJx/T2co1tQHcjmWbU9vfUKuT0zmDdbBLltatJHqKAbDu876pWR6KcWyveEDMNCm5Si/Waw5KzU7Is4MopkORK+9iqDwGpawPDttZiiGDly59CDTcY44aHG1bKJwuIs2qyULmytrJWSQRdyrQm4pPpbEDggpX8FpIClWW+GvKCcmjz3UicSctCweQXa0zzKMLr2KfylG56xeWTIkpDPDVKesgRpJwb1bs8EBZhoMHX7ELv5i2/vWbwfcd4SwEPCt/iDCFEsqBjY5psEbPoMB+IBal97ZAqSBT22/P6YWAi64T+RE6bkNKvXw15P0Mg9N/ZPk=----ATTACHMENT:----MjM0MzIyNTA0NDk5Nzg3IDIzODgxODM1NDIyMTI3OTAgODM1MzU2MzY5NjE3MTM1OA==