Gush\Helper\FilesystemHelper::clearTempFiles PHP Method

clearTempFiles() public method

Remove all the temp-file that were created with newTempFilename().
public clearTempFiles ( )
    public function clearTempFiles()
    {
        $this->fs->remove($this->tempFilenames);
    }

Usage Example

 public function cleanUpTempFiles()
 {
     $this->fsHelper->clearTempFiles();
     $this->gitHelper->clearTempBranches();
 }