public function __destruct() { if ($this->compileDir) { CRM_Core_CodeGen_Util_File::cleanTempDir($this->compileDir); } }