public static function cleanWorkspace() { $filesystem = new Filesystem(); $path = self::getWorkspacePath(); if (file_exists($path)) { $filesystem->remove($path); } }
/** * This method is called in a separate process after the iterations * are executed. See the annotations in the header of this class. */ public static function removeWorkspace() { Workspace::cleanWorkspace(); }