public function __destruct() { // clean up the memory and don't want for PHP clean for caching method "phpfastcache" if (isset($this->config['instance']) && (int) $this->config['cache_method'] === 3) { CacheManager::cleanCachingMethod($this->config['instance']); } }