cache[$key] ); return $exists; } public function get( $key, &$found = null ) { $found = false; if ( $this->exists( $key ) ) { $found = true; if ( is_object( $this->cache[$key] ) ) { return clone( $this->cache[$key] ); } else { return $this->cache[$key]; } } return false; } public function set( $key, $value ) { if ( is_object( $value ) ) { $value = clone( $value ); } $this->cache[$key] = $value; return true; } } if ( ! function_exists( 'happyforms_get_cache' ) ): function happyforms_get_cache() { return HappyForms_Cache::instance(); } endif; happyforms_get_cache();