removeFolder() публичный статический Метод

Apaga um diretorio e todo o seu conteúdo
public static removeFolder ( string $dirPath ) : boolean
$dirPath string
Результат boolean
 public function testCreateFoldersSuccess()
 {
     $folderBase = dirname(dirname(dirname(__FILE__))) . '/fixtures/NFe';
     $resp = FilesFolders::createFolders($folderBase);
     $this->assertTrue($resp);
     $resp = FilesFolders::removeFolder($folderBase);
     $this->assertTrue($resp);
 }