ImboIntegrationTest\Storage\FilesystemTest::rmdir PHP Method

rmdir() private method

Recursively delete the test directory
private rmdir ( string $path )
$path string Path to a file or a directory
    private function rmdir($path)
    {
        foreach (glob($path . '/*') as $file) {
            if (is_dir($file)) {
                $this->rmdir($file);
            } else {
                unlink($file);
            }
        }
        rmdir($path);
    }